Reference client for Duo Security APIs
Project description
# Overview
[![Build Status](https://travis-ci.org/duosecurity/duo_client_python.svg?branch=master)](https://travis-ci.org/duosecurity/duo_client_python)
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 --ignore=E501 duo_client/ tests/ `
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 Distributions
Built Distribution
Hashes for duo_client-4.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 708619e7080a20f66ee48e186300ef127d79bdc014ec0490ad67c89a7bb24daa |
|
MD5 | 470b8eaacccd2559b48983721fc21994 |
|
BLAKE2b-256 | f6abb3dbe641ceb0e1962cf633f8cdde51aed2f0470556c04bd32a3fa51032b4 |