Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Warning: the windows branch is treated as a local topic branch that just happens to be shared here, so expect non-fast-forward updates...
branch: master

This branch is 2 commits behind windows

Add support for RecordingSurface, using patch (modified) from bug #36…


Add docs and tests for RecordingSurface.
Adding the RecordingSurface to the pycairo API breaks ABI compatibility with
previous pycairo versions.
latest commit f3435910d8
Steve Chaplin authored


Pycairo - Python bindings for cairo

    cairo   >= 1.10.0
    Python  >= 2.6

See the INSTALL document for build instructions.

The 'doc' directory contains reStructuredText files which are used by Sphinx
to generate html (and other format) documentation.

Pycairo is free software and is available to be redistributed and/or modified
under the terms of either the GNU Lesser General Public License (LGPL) version
2.1 or the Mozilla Public License (MPL) version 1.1.

Mailing List:
If you have some ideas for how cairo or Pycairo could be improved, please feel
free to send a message to

If you find a bug in Pycairo, please go to
and submit a bugreport.

IMPORTANT: make sure you state which version of cairo, pycairo, and Python you
are using when you report a problem or bug.

>>> import cairo
>>> cairo.cairo_version_string()  # shows the cairo version
>>> cairo.version                 # shows the pycairo version
Something went wrong with that request. Please try again.