Tools for HTML generation and output.
Project Links
Meta
Author: Carson Sievert
Requires Python: >=3.10
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Programming Language
- Python
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: Implementation :: PyPy
Topic
- Internet :: WWW/HTTP :: Dynamic Content
- Software Development :: Libraries :: Python Modules
- Text Processing :: Markup :: HTML
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
0.7.0
May 21, 2026
0.6.1
May 01, 2026
0.6.0
Oct 29, 2024
0.5.3
Jul 18, 2024
0.5.2
May 23, 2024
0.5.1
Dec 18, 2023
0.5.0
Dec 07, 2023
0.4.1
Oct 30, 2023
0.4.0
Oct 30, 2023
0.3.0
Aug 01, 2023
0.2.1
Apr 03, 2023
0.2.0
Apr 03, 2023
0.1.5
Mar 11, 2023
0.1.4
Mar 02, 2023
0.1.3
Mar 02, 2023
0.1.2
Jul 20, 2022