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.
.. info:: 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)
Installation
------------
from pypi
*********
TBD
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
====
========
cairotft is a small module for Python (3.4+) used to draw interface on
tft screen using the framebuffer interface.
.. info:: 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)
Installation
------------
from pypi
*********
TBD
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
====
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cairotft-0.1.1.tar.gz
(14.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cairotft-0.1.1.tar.gz.
File metadata
- Download URL: cairotft-0.1.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1fb01ed311b9e3d24ba2db32257a1fa07a405b82ae6ca44dd9d4e68f3957179
|
|
| MD5 |
57ded48c6ff1e0de8f1de080f0ff9a5b
|
|
| BLAKE2b-256 |
9adee89efd51f59cc2c137a6454398465c0bab116e9ec67bd38983298fbfc755
|
File details
Details for the file cairotft-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: cairotft-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
006b560f44334feb492e5aaf0af3f699fe317609afa46c8c149e4ce9a555e303
|
|
| MD5 |
a4a968719127da66de1abdf43a919e80
|
|
| BLAKE2b-256 |
f9f13b5661db96967cd1a0bce5113688e667d34e8bed1f295b788589f426d5e1
|