Installation

html5cc is published to PyPI. The import name is html5.

pip

pip install html5cc

requirements.txt

html5cc==0.4.0

pyproject.toml

uv

[project]
dependencies = ["html5cc>=0.4.0"]

Then run:

uv sync

Poetry

[tool.poetry.dependencies]
python = "^3.10"
html5cc = "^0.4.0"

Then run:

poetry install

Verifying the install

import html5
print(html5.__version__)  # 0.4.0