NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1041 most downloaded on PyPI
cffi-based cairo bindings for Python
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 1.2 years
Nearly every release is documented
notes for 34 of 34 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
35 releases · first in 2013
Released on 2024-06-18 * #227 _: Add get_hairline() and set_hairline() functions
Released on 2024-06-18
#227: Add get_hairline() and set_hairline() functions
Drop Python 3.7 support, add Python 3.12 support
One column per quarter.
Released on 2023-07-24 * #217 _: Repair installation with PyInstaller
Released on 2023-07-24
#217: Repair installation with PyInstaller
This version uses a new CFFI mode that may break your program.
Released on 2023-06-12
This version uses a new CFFI mode that may break your program.
CairoCFFI now uses Flit for packaging and is also distributed as a Python wheel.
Please test carefully and don’t hesitate to report issues before using it in production.
#216: Use ABI-level in-line CFFI mode
Released on 2023-04-15 * #212 _: Bring back XCB support during wheel generation
Released on 2023-04-15
#212: Bring back XCB support during wheel generation
Released on 2023-03-17 * #106 _, #200 _: Fallback to manual PNG file creation on hardened systems * #210 _: Use pyproject.toml for packaging and remov
Released on 2022-09-23 * #205 _: Use pikepdf to parse generated PDF * #171 _: Don’t use deprecated pytest-runner anymore
2cd512d _: Drop Python 3.6 support
Released on 2020-10-29 * #152 _: Add NumPy support * #143 _: Make write_to_png function work on hardened systems * #156 _: Use major version name to o
Support Cairo features up to 1.17.2
Released on 2019-02-15 * #123 _: Rely on a recent version of setuptools to handle VERSION
Released on 2019-02-15
#123: Rely on a recent version of setuptools to handle VERSION
Released on 2019-02-12 * #120 _: Don't delete _generated modules on ffi_build import
Released on 2019-02-12
#120: Don't delete _generated modules on ffi_build import
6 years after its first release, cairocffi can now be considered as stable.
Released on 2019-02-08
6 years after its first release, cairocffi can now be considered as stable.
Drop Python 2.6, 2.7 and 3.4 support
Test with Python 3.7
Clean code, tests and packaging
Nothing published for this version
Drop Python 3.2 and 3.3 support
Released on 2018-05-30 * #98 _: Add width and height options to pixbuf.decode_to_image_surface * #112 _: Add cairo library name from PyGObject for Win
Use the default ReadTheDocs theme
Use ctypes.util.find_library with dlopen.
Released on 2015-08-04
Use ctypes.util.find_library with dlopen.
Allow installing cairocffi when cffi<1.0 is installed.
Released on 2015-06-22
Allow installing cairocffi when cffi<1.0 is installed.
Released on 2015-06-05 * #47 _: Fix PyPy support. * #60 _: Use CFFI-1.0 methods. * #61 _: Allow ffi import when package is pip installed.
Released on 2014-09-23. * #39 _: Add xcb.XCBSurface. * #42 _: Add Win32PrintingSurface.
Stop testing with tox on Python 3.1, start on 3.4
Released on 2014-05-23.
Stop testing with tox on Python 3.1, start on 3.4
Start testing pushes and pull requests on Travis-CI
Add more variants of the library names to try with dlopen(). This seems to be necessary on OpenBSD.
Fix #28 _: Add another dynamic library name to try to load, for OS X.
Released on 2014-03-11.
Fix #28: Add another dynamic library name to try to load, for OS X.
Fix #21 _: UnicodeDecodeError when installing with a non-UTF-8 locale.
Released on 2014-02-27.
Fix #21: UnicodeDecodeError when installing with a non-UTF-8 locale.
Fix #15 _: Work around CFFI bug #92 _ that caused memory leaks when file-like target objects are passed to Surface.write_to_png, PDFSurface, PSSurface
Released on 2013-07-16.
Fix #15: Work around CFFI bug #92 that caused memory leaks when file-like target objects are passed to Surface.write_to_png, PDFSurface, PSSurface and SVGSurface.
Change ~cairocffi.pixbuf.decode_to_image_surface to raise a specific ~cairocffi.pixbuf.ImageLoadingError exception instead of a generic ValueError. Th
Released on 2013-06-20.
Change ~cairocffi.pixbuf.decode_to_image_surface to raise a specific ~cairocffi.pixbuf.ImageLoadingError exception instead of a generic ValueError. This new exception type inherits from ValueError.
Released on 2013-06-20.
Change decode_to_image_surface() to raise a specific ImageLoadingError exception instead of a generic ValueError . This new exception type inherits from ValueError .
Fix #10 _: Pretend to be pycairo 1.10.0, for compatibility with matplotlib which does version detection.
Released on 2013-05-27.
Fix #10: Pretend to be pycairo 1.10.0, for compatibility with matplotlib which does version detection.
Fix WeasyPrint#94: Make (again??) GTK acutally optional for PixBuf support.
Fix #9 _: Make GTK acutally optional for PixBuf support.
Released on 2013-05-03.
Fix #9: Make GTK acutally optional for PixBuf support.
Various documentation improvements
Released on 2013-04-30.
Various documentation improvements
Bug fixes:
Fix error handling in ImageSurface.create_from_png.
Fix ScaledFont.text_to_glyphs and Context.show_text_glyphs with new-style enums.
No change since 0.3.1, but depend on CFFI < 0.6 because of backward-incompatible changes. cairocffi 0.4 will require CFFI 0.6 or more.
Released on 2013-04-06.
No change since 0.3.1, but depend on CFFI < 0.6 because of backward-incompatible changes. cairocffi 0.4 will require CFFI 0.6 or more.
# Before cairocffi 0.4: surface = cairocffi.ImageSurface('ARGB32', 300, 400) # All cairocffi versions: surface = cairocffi.ImageSurface(cairocffi.FORMAT_ARGB32, 300, 400)
Compatibility with CFFI 0.6
No change since 0.3.1, but depend on CFFI < 0.6 because of backward-incompatible changes. cairocffi 0.4 will require CFFI 0.6 or more.
Released on 2013-03-29.
No change since 0.3.1, but depend on CFFI < 0.6 because of backward-incompatible changes. cairocffi 0.4 will require CFFI 0.6 or more.
Fix handling of GDK-PixBuf errors.
Released on 2013-03-18.
Fix handling of GDK-PixBuf errors.
Add cairocffi.pixbuf, for loading images with GDK-PixBuf.
Released on 2013-02-26.
Add cairocffi.pixbuf, for loading images with GDK-PixBuf.
Add iteration and item access on Matrix.
Better Windows support by trying to load libcairo-2.dll
Released on 2013-01-08. Added RecordingSurface.
Released on 2013-01-08.
Added RecordingSurface.
Released on 2013-01-07. First PyPI release.
Released on 2013-01-07.
First PyPI release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →