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.2.tar.gz
(54.7 kB
view details)
Built Distribution
File details
Details for the file duo_client-4.3.2.tar.gz
.
File metadata
- Download URL: duo_client-4.3.2.tar.gz
- Upload date:
- Size: 54.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 038c40c86615b2c176252ec32888898807861371536ac29a39a707c71dd0e693 |
|
MD5 | 973965c20cea69338cdd91877df368b2 |
|
BLAKE2b-256 | 217e94bd456af8e05fd9726d6e59b8508d91d986fa4d37c016c48a01e88d3d19 |
File details
Details for the file duo_client-4.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: duo_client-4.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652548002767d27a5eaaa700b312205dfc1c252033bb0ab7f98d1d3961bceba7 |
|
MD5 | aff0244674e64e71c0a11e1954a37f4c |
|
BLAKE2b-256 | 67ce521ec55829067659b79d987d39495545bc7ec89bac70817a3ce971362fda |