Reference client for Duo Security APIs
Project description
Overview
Auth - https://www.duosecurity.com/docs/authapi
Admin - https://www.duosecurity.com/docs/adminapi
Accounts - https://www.duosecurity.com/docs/accountsapi
Installing
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
Using
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
Testing
$ nose2
Linting
$ flake8
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
duo_client-4.3.1.tar.gz
(53.6 kB
view hashes)
Built Distribution
Close
Hashes for duo_client-4.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 790de9573e2a0a85cc10cdb671b37759ee5f6c8557fe9972a8837bb07d71f69b |
|
MD5 | 62a28e2d33764c27def10736d257820b |
|
BLAKE2b-256 | 533952547431dcc4c4971643bf3dcf8f3bd824568515222dd46772b36abae48d |