### Run Example Query Source: https://github.com/duosecurity/duo_client_python/blob/master/README.md Execute an example script from the repository root to query Duo services. ```bash python examples/Admin/report_users_and_phones.py ``` -------------------------------- ### Run Admin API Example Script Source: https://github.com/duosecurity/duo_client_python/blob/master/examples/Admin/README.md Execute an Admin API example script from the repository root. Ensure you have the duoclients library installed. ```bash $ python3 examples/Admin/report_users_and_phones.py ``` -------------------------------- ### Run Accounts API Example Source: https://github.com/duosecurity/duo_client_python/blob/master/examples/Accounts/README.md Execute an Accounts API example script from the repository root. ```bash $ python3 examples/Accounts/get_billing_and_telephony_credits.py ``` -------------------------------- ### Install Duo Client Python (Development) Source: https://github.com/duosecurity/duo_client_python/blob/master/README.md Clone the repository, set up a virtual environment, and install development requirements. ```bash 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 ``` -------------------------------- ### Run Basic User MFA Example from Directory Source: https://github.com/duosecurity/duo_client_python/blob/master/examples/Auth/README.md Shows how to run the basic user MFA example script when already inside the examples/Auth directory. ```bash python3 basic_user_mfa.py ``` -------------------------------- ### Run Basic User MFA Example Source: https://github.com/duosecurity/duo_client_python/blob/master/examples/Auth/README.md Illustrates how to execute a basic user MFA example script from the repository root. ```bash python3 examples/Auth/basic_user_mfa.py ``` -------------------------------- ### Run Accounts API Example from Directory Source: https://github.com/duosecurity/duo_client_python/blob/master/examples/Accounts/README.md Execute an Accounts API example script from within the examples/Accounts directory. ```bash $ python3 get_billing_and_telephony_credits.py ``` -------------------------------- ### Install Duo Client Python (System) Source: https://github.com/duosecurity/duo_client_python/blob/master/README.md Install the duo-client package from PyPi using pip. ```bash pip install duo-client ``` -------------------------------- ### Run Admin API Example Script from Directory Source: https://github.com/duosecurity/duo_client_python/blob/master/examples/Admin/README.md Execute an Admin API example script when already in the examples/Admin directory. This simplifies the path for execution. ```bash $ python3 report_users_and_phones.py ``` -------------------------------- ### Run Tests Source: https://github.com/duosecurity/duo_client_python/blob/master/README.md Execute tests using nose2. Specific test directories can also be targeted. ```bash nose2 Example: cd tests/admin && nose2 ``` -------------------------------- ### Lint Code Source: https://github.com/duosecurity/duo_client_python/blob/master/README.md Run flake8 to check code for style and potential errors. ```bash flake8 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.