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
Metadata
Release files for cairotft 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cairotft-0.1.2.tar.gz | 14.7 kB | Without provenance | Details for cairotft-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cairotft-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for cairotft-0.1.2-py2.py3-none-any.whl |
Total release size: 38.1 kB
Release files / cairotft-0.1.2.tar.gz
| Download URL | cairotft-0.1.2.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80dbad186320404197390188ede780616335aa1fec5b9f05356278399f8ab7a4
|
|
BLAKE2b-256 checksum How to use checksums |
ce2ee39a4dea433cee0018e80b9b97259118956a74a234c455062810e58e21dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / cairotft-0.1.2-py2.py3-none-any.whl
| Download URL | cairotft-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 23.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
996ae433d5234d44a2e978da00e1d0a8a5665eb86cfa310f90640eb15985464b
|
|
BLAKE2b-256 checksum How to use checksums |
c5347c79ec2d7f709c30286811375fced2a998caf57778db1a2b0dd62d1712d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cairotft 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.