Tools for HTML generation and output.
Maintained. Last release 6 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install htmltoolshtmltools
Tools for creating, manipulating, and writing HTML from Python.
Installation
pip install htmltools
To install the latest development version from this repository:
uv pip install https://github.com/posit-dev/py-htmltools/tarball/main
Development
This 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