Skip to main content

python api for R305 finger print module

Project description

python-R305
===========

python api for .. _R305: http://robokits.co.in/sensors/r305-fingerprint-scanner-module
Fingerprint module over UART.

![Alt R305 fingerprint module](img/R305.jpg)


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

```python
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

```python
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](http://python-r305-doc.readthedocs.io/en/latest/index.html)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

R305-2.0.0.tar.gz (17.9 kB view details)

Uploaded Source

File details

Details for the file R305-2.0.0.tar.gz.

File metadata

  • Download URL: R305-2.0.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for R305-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e922ea44b755de326ed535489423b93752ee75d7b575ce6c1b97b09e0db72616
MD5 f96dcbcd1a14aa7ad0987a03fa1d2681
BLAKE2b-256 452ddf42370f316b90e31772fe96c8182ef2e73d9bcd744404487abea6e1f125

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page