pygobject / pycairo

Python bindings for cairo

Home Page:https://pycairo.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

Pycairo is a Python module providing bindings for the cairo graphics library. It depends on cairo >= 1.15.10 and works with Python 3.8+ and PyPy3. Pycairo, including this documentation, is licensed under the LGPL-2.1-only OR MPL-1.1.

The Pycairo bindings are designed to match the cairo C API as closely as possible, and to deviate only in cases which are clearly better implemented in a more ‘Pythonic’ way.

pip install pycairo

Installing Pycairo requires cairo including its headers. For more info see "Getting Started".


image


Features of the Pycairo bindings:

  • Provides an object oriented interface to cairo.
  • Queries the error status of objects and translates them to exceptions.
  • Provides a C API that can be used by other Python extensions.
  • Fully typed and documented API.

For more information visit https://pycairo.readthedocs.io

About

Python bindings for cairo

https://pycairo.readthedocs.io

License:Other


Languages

Language:C 47.8%Language:Python 44.5%Language:Roff 6.8%Language:Meson 0.8%Language:Shell 0.0%