Tools for creating, manipulating, and writing HTML from Python.
pip install htmltoolsTo install the latest development version from this repository:
uv pip install https://github.com/posit-dev/py-htmltools/tarball/mainThis project uses uv for managing the Python dev environment. Install uv, then:
make setup # creates .venv and installs all dev/test deps
make ai-setup # like setup, but also installs the pre-commit hook
make help # list available targets
make check # format + type + test checks
make format # auto-fix formatting