python api for R305 Fingerprint module over UART.
Branch: master
Clone or download
Latest commit 599be35 Jun 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist rpm added Nov 5, 2016
docs updated sidebarintro.html Jun 22, 2017
examples doc corrected. Jun 21, 2017
img minor changes and travis.yml added Oct 28, 2016
r305 __version__ added Jun 22, 2017
.gitignore store example added Mar 1, 2017
.travis.yml minor changes and travis.yml added Oct 28, 2016
LICENSE Initial commit Feb 5, 2016
MANIFEST.in doc corrected. Jun 21, 2017
README.md updated RTFD link Jun 22, 2017
python-r305.spec spec updated Nov 5, 2016
requirements.txt manifest added Nov 5, 2016
setup.py doc corrected. Jun 21, 2017
tox.ini minor changes and travis.yml added Oct 28, 2016

README.md

python-R305

python api for R305 Fingerprint module over UART.

Alt R305 fingerprint module

installation

using pip

$ pip install R305

For Fedora and centos

$ dnf copr enable girish946/R305
$ dnf install python-R305

Usage

To store the fingerprint in to the module

from r305 import R305
import sys

device   = sys.argv[1]
baudrate = sys.argv[2] # the default baudrate for this module is 57600

dev = R305(device, baudrate)

def callback(data):
    x = raw_input(data)

result = dev.StoreFingerPrint(IgnoreChecksum=True, callback=callback)
print(result)

To search fingerprint in the module

from r305 import R305
import sys

device   = sys.argv[1]
baudrate = sys.argv[2] # the default baudrate for this module is 57600

dev = R305(device, baudrate)

result = dev.SearchFingerPrint()
print(result)

Documentation

the documentation for Python-R305 package can be found at rtfd.org