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

Activity - TBD (As of now, the activity endpoint is not in general availability and is restricted to a few customers for private preview. If you have any questions or need more information, feel free to reach out to support for guidance.)

Tested Against Python Versions

  • 3.6
  • 3.7
  • 3.8
  • 3.9
  • 3.10

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

Uploaded Source

Built Distribution

duo_client-4.5.0-py2.py3-none-any.whl (40.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: duo_client-4.5.0.tar.gz
  • Upload date:
  • Size: 62.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for duo_client-4.5.0.tar.gz
Algorithm Hash digest
SHA256 674d1de1a46dfdd488362cd049650f0473801864b42ae458ae1803bf7e339668
MD5 9ff39cb81dd2352cd6f4ad9bb1653515
BLAKE2b-256 7a26ee644be393dbc544f1827a49f60cde64696183dac2ebc79a7a8bd4510ad3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: duo_client-4.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for duo_client-4.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c200f58cf4cb6f5dd7e95fae7136ea925fa61c5d5519eb16a40fea401965460d
MD5 07fff86cbf1349f3008d04f62cc490b9
BLAKE2b-256 95a214763aa80c006aa19ad77bc4263c07063cd8de3140515629187029623fa3

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