Skip to main content

Reference client for Duo Security APIs

Project description

Overview

Build Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

duo_client-4.2.3-py2.py3-none-any.whl (32.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file duo_client-4.2.3-py2.py3-none-any.whl.

File metadata

  • Download URL: duo_client-4.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.4.10

File hashes

Hashes for duo_client-4.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 99122a632108a46ee7285c12e4cc6269f5b2614e4be99fe55d6a044fd0d6f278
MD5 3afea91bbd6c2c89f0f08813ca8d29cd
BLAKE2b-256 ec593004e16195d59f895aaa917b4c82fd6677f5391db2fd5e781431c133759f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page