### Run Registration Example Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Execute the registration example script using uv and Python. Ensure you have set up the virtual environment as described in the development section. ```shell venv $> uv run -m examples.registration ``` -------------------------------- ### Install py_webauthn Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Install the py_webauthn library using pip. This command installs the latest version from PyPI. ```shell pip install webauthn ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Set up a virtual environment and install project dependencies using uv. This command synchronizes the project's requirements. ```shell $> uv sync ``` -------------------------------- ### Run Authentication Example Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Execute the authentication example script using uv and Python. Ensure you have set up the virtual environment as described in the development section. ```shell venv $> uv run -m examples.authentication ``` -------------------------------- ### Run All Unit Tests Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Execute all unit tests for the project using Python's unittest module and uv. This command runs tests within the virtual environment. ```shell venv $> uv run -m unittest ``` -------------------------------- ### Run Individual Unit Test File Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Execute a specific unit test file using Python's unittest module and uv. This is useful for focused testing during development. ```shell venv $> uv run -m unittest tests/test_aaguid_to_string.py ``` -------------------------------- ### Run Mypy for Linting Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Execute mypy to check for type errors in the webauthn library. Ensure you are in the correct virtual environment. ```sh venv $> uv run -m mypy webauthn Success: no issues found in 52 source files ``` -------------------------------- ### Format Code with Black Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Apply black formatter to the webauthn library with a specified line length. This ensures consistent code style across the project. ```sh venv $> uv run -m black webauthn --line-length=99 All done! ✨ 🍰 ✨ 52 files left unchanged. ``` -------------------------------- ### Auto-Watch Individual Unit Test File Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Continuously run a specific unit test file using nodemon for auto-watching. This command re-executes the specified test file upon detecting changes. ```shell venv $> nodemon --exec "uv run -m unittest tests/test_aaguid_to_string.py" --ext py ``` -------------------------------- ### Auto-Watch All Unit Tests Source: https://github.com/duo-labs/py_webauthn/blob/master/README.md Continuously run all unit tests using nodemon for auto-watching. This command re-executes tests automatically upon detecting changes in Python files. ```shell venv $> nodemon --exec "uv run -m unittest" --ext py ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.