Skip to main content

Reference client for Duo Security APIs

Project description

Overview

Build Status Issues Forks Stars License

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


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.0.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

duo_client-4.3.0-py2.py3-none-any.whl (34.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file duo_client-4.3.0.tar.gz.

File metadata

  • Download URL: duo_client-4.3.0.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for duo_client-4.3.0.tar.gz
Algorithm Hash digest
SHA256 c856f996dab98663728acaf187f4f4c0ea872538a06663c4a5c0bff10ccf7dda
MD5 1f3f579544174187cedd4acd7c4dc3c9
BLAKE2b-256 38281ca10c0d19ffa77c7c157420ba155349b86f53eafc4f9e3bff8efff4d3d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: duo_client-4.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for duo_client-4.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a5b3e203a99875bb10081f9545f5314d054a35f9d14f772c20919a2364823ac7
MD5 fb7ac783578de7f19563e191a8072c9d
BLAKE2b-256 76afc0b82510dd0acf9b2b08e8961902e06fc2375f782c329e08ec396c4f71cb

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