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

lukaskollmer/python-touch-id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Access the Touch-ID sensor from Python

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages