/pyfprint-cffi

CFFI bindings for libfprint

Primary LanguagePython

pyfprint-cffi

tl;dr

This is a python module with CFFI bindings for libfprint

warning: i've cut off some things from the original SWIG bindings

usage

mkdir venv
. venv/bin/activate
pip install .
# hack hack hack

story

It's forked from @luksan original work, which was then improved by @xantares here with Python 3 support.

The original SWIG version had issues with surrogate strings on modern python versions (an issue has been filed), and I failed in working around it so bad.

Reimplementing just the needed stuff using CFFI (and possibly having broken everything else) turned out to be a great idea :)