Auth - https://www.duosecurity.com/docs/authapi
Admin - https://www.duosecurity.com/docs/adminapi
Accounts - https://www.duosecurity.com/docs/accountsapi
- 3.6
- 3.7
- 3.8
- 3.9
- 3.10
Development:
$ git clone https://github.com/duosecurity/duo_client_python.git
$ cd duo_client_python
$ virtualenv .env
$ source .env/bin/activate
$ pip install --requirement requirements.txt
$ pip install --requirement requirements-dev.txt
$ python setup.py install
System:
$ pip install duo-client
See the examples
folder for how to use this library.
To run an example query, execute a command like the following from the repo root:
$ python examples/report_users_and_phones.py
$ nose2
$ flake8