/py-fbink

Python cFFI bindings for FBInk

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Python cFFI bindings for FBInk

Licensed under the GPLv3+.

See FBInk ;).

Usage

See the basic example, it's basically Python + cffi + FBInk ;). There's absolutely zero higher-level wrapping, so you can pretty much follow FBInk's C API.

Because cross-compiling Python & Python modules is fairly hellish, this is bundled with my usual Python packages (Kindle & Kobo) ;).

Examples

For another very minimal example, see how this is used in LibrarianSync ;).

Fork Details

My fork of this library includes a basic UI-drawing routine, and rudimentary input using evdev on button-based kindles. This allows for fullscreen UIs on kindles with no touch screen.