posit-dev/py-htmltools

Tools for HTML generation and output

Python

24

440 commits

updated Aug 14, 2026

See the code

README

htmltools

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

posit-dev/py-htmltools

Tools for HTML generation and output

Python

24

440 commits

updated Aug 14, 2026

See the code

README

htmltools

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