Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

UI library for small tft screens using cairocffi

Project Description

cairotft

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.

Licence

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

Fonctionnalities

  • 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)

Documentation

See the full documentation on readthedocs: http://cairotft.readthedocs.org

Installation

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 https://github.com/LinkCareServices/cairotft.git
    cd cairotft
    
  • create a virtualenv:

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

    python setup.py install
    
  • and for development:

    python setup.py develop
    
  • and (eventually) development dependencies:

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

Running tests

tests

install tests and developpement requirements:

pip install -r dev-requirements.txt

on the main cairotft directory run the tests:

nosetests

or with verbosity:

nosetests -v

News

Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cairotft-0.1.2-py2.py3-none-any.whl (23.4 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Mar 14, 2015
cairotft-0.1.2.tar.gz (14.7 kB) Copy SHA256 Checksum SHA256 Source Mar 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting