Skip to content
This repository


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: windows

This branch is 0 commits ahead and 0 commits behind windows

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.