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.4.0.tar.gz
(59.7 kB
view details)
Built Distribution
File details
Details for the file duo_client-4.4.0.tar.gz
.
File metadata
- Download URL: duo_client-4.4.0.tar.gz
- Upload date:
- Size: 59.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e06bf730a201a1e1749215ef16d2c2682a73532eedd58d63663a8adabba3d3 |
|
MD5 | b554323798587e4db48ce8c0af9857dd |
|
BLAKE2b-256 | ba5b1d400cfd34e016c5b525c4dc546357deed05e4a189f597deb9fcd080be69 |
File details
Details for the file duo_client-4.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: duo_client-4.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 39.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 927b7e838433b20debc8d07c2c418c2e1b650735acb9fcf214eaa3a2caf00358 |
|
MD5 | d4193c90ac83d1ffff7f7c35573b4d80 |
|
BLAKE2b-256 | 28e8539d3317a27d532b7dbc1bf559437fd73838f1c0bdbbd51d8469cba2c08b |