Skip to main content

UI library for small tft screens using cairocffi

Project description


cairotft is a small module for Python (3.4+) used to draw interface on tft screen using the framebuffer interface.

It’s first designed for tft screens, but cairotft can draw interface on any framebuffer interface; like the default /dev/fb0 on linux consoles.


cairotft is free software made available under a BSD license. See LICENSE.txt


  • support python 3.4 (only tested on python 3.4)
  • support double-buffering
  • included with widgets:
    • blick icon
    • text marquee
  • included animation transitions formulas like mootools.Fx.Transitions
  • uses asyncio event loop
  • … (more in the future)


See the full documentation on readthedocs:


from pypi

  • create a virtualenv:

    pyvenv-3.4 ~/.virtualenvs/cairotft
    source ~/.virtualenvs/cairotft/bin/activate
  • install the package:

    pip install cairotft

from sources

  • clone the repo:

    git clone
    cd cairotft
  • create a virtualenv:

    pyvenv-3.4 ~/.virtualenvs/cairotft
    source ~/.virtualenvs/cairotft/bin/activate
  • install:

    python install
  • and for development:

    python develop
  • and (eventually) development dependencies:

    pip install --upgrade -r dev-requirements.txt

Running tests


install tests and developpement requirements:

pip install -r dev-requirements.txt

on the main cairotft directory run the tests:


or with verbosity:

nosetests -v


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cairotft, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size cairotft-0.1.2-py2.py3-none-any.whl (23.4 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size cairotft-0.1.2.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page