Access the Touch ID sensor from Python
$ pip install touchid
import touchid
success = touchid.authenticate()
Check whether Touch ID is available on the current machine
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
MIT © Lukas Kollmer