{"id":19411624,"url":"https://github.com/duosecurity/duo_client_python","last_synced_at":"2026-02-26T18:40:24.799Z","repository":{"id":5676151,"uuid":"6886054","full_name":"duosecurity/duo_client_python","owner":"duosecurity","description":"Python library for interacting with the Duo Auth, Admin, and Accounts APIs","archived":false,"fork":false,"pushed_at":"2025-05-13T15:02:04.000Z","size":657,"stargazers_count":141,"open_issues_count":25,"forks_count":145,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-05-13T16:25:16.365Z","etag":null,"topics":["duo-security","mfa","python","python3"],"latest_commit_sha":null,"homepage":"https://duo.com/docs/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duosecurity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2012-11-27T15:49:33.000Z","updated_at":"2025-05-13T15:02:09.000Z","dependencies_parsed_at":"2023-10-12T02:44:57.421Z","dependency_job_id":"6f83a552-b32d-4817-b457-c4d0aaf143b9","html_url":"https://github.com/duosecurity/duo_client_python","commit_stats":{"total_commits":301,"total_committers":67,"mean_commits":4.492537313432836,"dds":0.707641196013289,"last_synced_commit":"d08126e9a35d9b71dd386d5067315aaff7a1dbbb"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duosecurity%2Fduo_client_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duosecurity%2Fduo_client_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duosecurity%2Fduo_client_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duosecurity%2Fduo_client_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duosecurity","download_url":"https://codeload.github.com/duosecurity/duo_client_python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198514,"owners_count":22030965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["duo-security","mfa","python","python3"],"created_at":"2024-11-10T12:22:23.524Z","updated_at":"2026-02-26T18:40:24.792Z","avatar_url":"https://github.com/duosecurity.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\n[![Build Status](https://github.com/duosecurity/duo_client_python/workflows/Python%20CI/badge.svg)](https://github.com/duosecurity/duo_client_python/actions)\n[![Issues](https://img.shields.io/github/issues/duosecurity/duo_client_python)](https://github.com/duosecurity/duo_client_python/issues)\n[![Forks](https://img.shields.io/github/forks/duosecurity/duo_client_python)](https://github.com/duosecurity/duo_client_python/network/members)\n[![Stars](https://img.shields.io/github/stars/duosecurity/duo_client_python)](https://github.com/duosecurity/duo_client_python/stargazers)\n[![License](https://img.shields.io/badge/License-View%20License-orange)](https://github.com/duosecurity/duo_client_python/blob/master/LICENSE)\n\n**Auth** - https://www.duosecurity.com/docs/authapi\n\n**Admin** - https://www.duosecurity.com/docs/adminapi\n\n**Accounts** - https://www.duosecurity.com/docs/accountsapi\n\n**Activity** - The activity endpoint is in public preview and subject to change\n\n## Tested Against Python Versions\n* 3.7\n* 3.8\n* 3.9\n* 3.10\n* 3.11\n* 3.12\n\n## Requirements\nDuo_client_python supports Python 3.7 and higher\n\n## TLS 1.2 and 1.3 Support\n\nDuo_client_python uses Python's ssl module and OpenSSL for TLS operations.  Python versions 3.7 (and higher) have both TLS 1.2 and TLS 1.3 support.\n\n# Installing\n\nDevelopment:\n\n```\n$ git clone https://github.com/duosecurity/duo_client_python.git\n$ cd duo_client_python\n$ virtualenv .env\n$ source .env/bin/activate\n$ pip install --requirement requirements.txt\n$ pip install --requirement requirements-dev.txt\n$ python setup.py install\n```\n\nSystem:\n\nInstall from [PyPi](https://pypi.org/project/duo-client/)\n```\n$ pip install duo-client\n```\n\n# Using\n\nSee the `examples` folder for how to use this library.\n\nTo run an example query, execute a command like the following from the repo root:\n```\n$ python examples/Admin/report_users_and_phones.py\n```\n\n# Testing\n\n```\n$ nose2\n\nExample: `cd tests/admin \u0026\u0026 nose2`\n```\n\n# Linting\n\n```\n$ flake8\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduosecurity%2Fduo_client_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduosecurity%2Fduo_client_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduosecurity%2Fduo_client_python/lists"}