Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Latest commit

 

History

History
33 lines (20 loc) · 721 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 721 Bytes

python-touch-id PEP8

Access the Touch ID sensor from Python

Install

$ pip install touchid

Usage

import touchid

success = touchid.authenticate()

API

touchid.is_available()

Check whether Touch ID is available on the current machine

touchid.authenticate(reason='authenticate via Touch ID')

Authenticate via Touch ID.
This method returns a bool determining whether the Touch ID authentication completed successfully. If the user cancels the authentication, this method will raise an Exception

License

MIT © Lukas Kollmer