Skip to main content

pylitehtml

CI

HTML + CSS → PNG/JPEG 图像渲染器:轻量、无需无头浏览器、线程安全。

  • 快 — 稳态单次渲染约 15 ms(比无头 Chromium 快约 1.4×),冷启动约 0.2 s
  • 轻 — 不需要下载 ~190 MB 的 Chromium,官方 wheel 开箱即用(Linux / macOS / Windows)
  • 中文友好 — 内置 Noto Sans + SC 字体,中英文混排共享基线(不会出现中文"飞起来")
  • 线程安全 — 渲染期间释放 GIL,可多线程并发,asyncio 友好
  • 内置电池 — 零依赖 Markdown 转换器、Jinja2 模板、HTTPS 图片加载

需要 Python ≥ 3.10。不执行 JavaScript(KaTeX 数学公式 / Mermaid 图需预渲染,或改用浏览器方案)。

安装

pip install pylitehtml

30 秒上手

三个最常用入口,按需取用:

① HTML → 图片(推荐入口,自动套用一套干净的 GitHub 风默认样式)

from pylitehtml import html_to_png

png = html_to_png("<h1>Hello</h1><p>世界</p>", width=720)
open("out.png", "wb").write(png)

② Markdown → 图片(内置转换器,零第三方依赖)

from pylitehtml.markdown import markdown_to_png

png = markdown_to_png("# 标题\n\n- 列表\n- [x] 任务\n\n> 引用")

③ 模板文件 → 图片(本地 HTML 自动解析相对路径的 CSS/图片;带关键字参数即按 Jinja2 模板渲染)

from pylitehtml import render_file

png = render_file("project/index.html", width=800)                          # 纯文件
png = render_file("order.html", width=800,
                  title="订单", items=[{"name": "苹果", "price": 5}])        # Jinja2 模板

异步场景:png = await asyncio.to_thread(html_to_png, html)。

效果展示

examples/ 下的示例均独立可运行,各渲染一张图(详见 examples/README):

示例 说明 渲染结果
showcase_html.py HTML/CSS 能力参考:排版、颜色/渐变、表格、代码、列表、进度条 + 真实 HTTPS 图片 + data: URI 图标 html
showcase_css.py More CSS:conic/radial 渐变、边框样式、position、::before、text-overflow:ellipsis、white-space:pre、vertical-align css
showcase_markdown.py 内置零依赖 Markdown 转换器的端到端输出 markdown
showcase_jinja2.py Jinja2 数据驱动模板(循环 / 条件 / 过滤器 / autoescape,一张订单发票) jinja2
markdown_full_converter.py 用 markdown-it-py 接入完整 GFM(脚注 / 定义列表 / Pygments 语法高亮) gfm
render_markdown_doc.py 渲染一篇真实复杂文档(markdown.md:多表格 / 嵌套列表 / 多语言代码 / 行号引用代码块) doc

文本测量为子像素精度;模板变量经 autoescape 安全转义;抓取失败的远程图片自动跳过,不影响整图渲染。

使用指南

html_to_png — 带默认样式的 HTML 渲染

from pylitehtml import html_to_png, html_to_image, wrap_html, DEFAULT_CSS

# 传入"片段"时,自动套用默认样式;传入完整文档(含 <html>/<body>)时按原样渲染
png = html_to_png("<h1>标题</h1><p>正文 <code>code</code></p>", width=720)
png = html_to_png("<html><body style='background:#000'>…</body></html>")

# HiDPI:scale 同时放大画布宽度与根字号,em 布局等比放大
png = html_to_png(fragment, width=720, scale=2)

# 追加/覆盖样式;或拿原始 RGBA 像素
png = html_to_png(fragment, extra_css="body{background:#0d1117;color:#e6edf3}")
raw = html_to_image(fragment, fmt="raw")           # → RawResult(.data/.width/.height)
doc = wrap_html("<p>x</p>", css=DEFAULT_CSS)       # 仅生成完整 HTML 文档字符串

主要参数:width、scale(HiDPI 倍数,默认 1)、wrap(None 自动判断片段/整文档;True/False 强制)、css / extra_css、fmt("png"/"jpeg")、quality、height、shrink_to_fit、locale、fonts、images。

markdown_to_png — Markdown → 图片

内置一个纯标准库的轻量 Markdown→HTML 转换器,再交给 html_to_png,不引入 markdown-it-py、pygments 等任何第三方依赖:

from pylitehtml.markdown import markdown_to_png, markdown_to_html

png = markdown_to_png("# 标题\n\n- 列表\n- [x] 任务", width=720)   # scale 默认 2
html = markdown_to_html("**bold**")    # → '<p><strong>bold</strong></p>'

内置转换器覆盖:标题、粗/斜/***粗斜***/删除线/行内代码、反斜杠转义、链接/图片/裸 URL、行内 raw HTML、硬换行、围栏代码块(不高亮)、引用、有序(含 start)/无序/嵌套/任务列表、带对齐的 GFM 表格、分隔线。不支持:setext 标题、引用式链接、脚注、定义列表、缩进代码块。

需要完整 CommonMark/GFM 时,传入 converter=(任意 Callable[[str], str])接入 markdown-it-py:

from markdown_it import MarkdownIt
from mdit_py_plugins.footnote import footnote_plugin
from mdit_py_plugins.deflist import deflist_plugin
from pylitehtml.markdown import markdown_to_png

md = MarkdownIt("gfm-like").use(footnote_plugin).use(deflist_plugin)
png = markdown_to_png(text, converter=md.render)

Renderer / render — 底层接口(不注入默认样式)

需要复用实例(字体只加载一次)或精细控制输出时使用:

import pylitehtml

png = pylitehtml.render("<h1>Hello</h1>", width=800)      # 一次性便捷函数

r = pylitehtml.Renderer(width=800)                        # 可复用、可并发
jpg = r.render("<h1>Hello</h1>", fmt="jpeg", quality=90)
raw = r.render("<h1>Hello</h1>", fmt="raw")               # RGBA 原始像素

fmt="raw" 返回的 RawResult 可直接转 PIL / NumPy:Image.frombytes("RGBA", (raw.width, raw.height), raw.data) 或 np.frombuffer(raw.data, np.uint8).reshape(raw.height, raw.width, 4)。

render_file 与 Jinja2 模板

按标准网页组织目录,自动解析相对路径的 CSS/图片;传入关键字参数即作为 Jinja2 模板渲染(变量 / 循环 / 条件 / 过滤器 / include / extends):

r = pylitehtml.Renderer(width=800)
png = r.render_file("project/index.html")                                              # 纯文件
png = r.render_file("order.html", title="订单", items=[{"name": "苹果", "price": 5}])   # 模板

autoescape 默认开启:.html 模板里的 {{ 变量 }} 会转义 </&/",不可信数据也不会注入。 本地文件安全:file:// 与根路径资源仅在 render_file() 下加载;直接 render() 字符串时忽略。

多线程与异步

先在单线程构造 Renderer,之后可多线程并发 render()(渲染期间释放 GIL);异步用 await asyncio.to_thread(r.render, html)。带 extra 字体的构造会改写进程级字体配置,勿在渲染进行中于其它线程构造新 Renderer。

能力边界

litehtml = CSS 2.1 + 部分 CSS3。下表为实测结论:

能力 状态
PNG / JPEG / RAW 输出 ✅
盒模型、边框(solid/dashed/dotted/double)、border-radius、背景色 ✅
linear-gradient / conic-gradient(radial-gradient ⚠️ 仅颜色对) ✅
字体、color、text-align、line-height、text-shadow、text-transform ✅
text-decoration、<mark>/<sub>/<sup>/<kbd>、white-space:pre/nowrap ✅
列表(嵌套 / list-style-type / 任务列表)、定义列表、表格(对齐 / :nth-child) ✅
float、inline-block、position:relative/absolute、text-overflow:ellipsis、::before/::after ✅
图片 <img>:data:(PNG/JPEG/WebP) / 本地 / HTTP·HTTPS、@import CSS ✅
SVG 图片(内置 nanosvg:path/形状/描边/userSpaceOnUse 渐变;不含 <text>/滤镜/内联 <svg> 标记) ⚠️ 图形子集
中文 / 多语言(内置 Noto Sans + SC,中英共享基线、子像素测量) ✅
多线程并发、asyncio.to_thread ✅
Flexbox(简单行 / 列) ⚠️ 部分
background-image:url()、box-shadow、transform、opacity、letter-spacing ❌
CSS Grid、var()、@font-face、动画 / 过渡、filter、JavaScript ❌

图片抓取失败会自动跳过(不报错);官方 wheel(Linux manylinux_2_34 / macOS / Windows)均含 OpenSSL ≥ 3.0,支持 https。

性能:对比 Playwright

同一篇文档各渲染 30 次(macOS arm64,width=720;基准脚本 bench/bench_vs_playwright.py):

指标 pylitehtml Playwright(无头 Chromium)
单次渲染(warm,均值) ≈ 15.5 ms ≈ 21 ms
首屏 / 冷启动 ≈ 0.2 s ≈ 0.25 s(OS 已缓存)/ 首次可达 ~3.4 s
额外依赖 无(仅系统 Cairo/Pango 等) 需下载 Chromium ~190 MB+,每次渲染有浏览器进程内存开销
JavaScript ❌ 不执行 ✅ 可执行(KaTeX/Mermaid 等)

要点:稳态吞吐约快 1.4×;真正的差距在部署体积与冷启动——无 Chromium、无浏览器进程,适合容器 / Serverless / 弹性扩缩容场景。需要执行 JS(数学排版、Mermaid 绘图)时仍应选 Playwright。

pip install playwright && playwright install chromium   # 或: uv pip install --group bench
python bench/bench_vs_playwright.py 30

API 速查

# 高层(推荐):自动默认样式、片段/整文档自动判别、HiDPI scale
html_to_png(html, *, width=720, scale=1, wrap=None, css=DEFAULT_CSS, extra_css="",
            fmt="png", quality=85, height=0, shrink_to_fit=True,
            locale="en-US", fonts=None, images=None) -> bytes
html_to_image(...)   # 同参数,fmt 可取 "raw" → RawResult(.data/.width/.height,RGBA 行主序)

markdown_to_png(md, *, converter=None, ...)   # converter: Callable[[str], str],默认内置转换器
markdown_to_html(md) -> str

# 底层:不注入默认样式
Renderer(width, *, locale="en-US", dpi=96.0, device_height=600, fonts=None, images=None)
Renderer.render(html, *, fmt="png", quality=85, height=0, shrink_to_fit=True)
Renderer.render_file(path, *, fmt="png", quality=85, height=0, shrink_to_fit=True, **template_data)
render(html, width, ...) / render_file(path, width, ...)   # 一次性便捷函数

FontConfig(default="Noto Sans", size=16, extra=[])          # 已内置 Noto Sans/SC + DejaVu Sans
ImageConfig(cache_mb=64.0, timeout_ms=5000, max_mb=10.0, allow_http=True)
  • scale 等比放大画布与(默认样式的)根字号;shrink_to_fit 把画布收窄到内容宽度。
  • 内置字体使 sans-serif/serif/monospace 与中文在无系统字体时也能渲染;dpi 影响 pt 换算。

从源码构建

Ubuntu / Debian

sudo apt-get install -y libcairo2-dev libpango1.0-dev libfontconfig1-dev \
  libwebp-dev libjpeg-turbo8-dev libssl-dev cmake ninja-build pkg-config
pip install -e ".[dev]" --no-build-isolation

macOS

brew install cairo pango fontconfig webp jpeg-turbo openssl@3 cmake ninja
CC=/usr/bin/clang CXX=/usr/bin/clang++ pip install -e ".[dev]" --no-build-isolation

运行测试 / 代码检查

pytest tests/ -v
ruff check .        # lint
ruff format .       # 格式化(CI 用 `ruff format --check` 校验)

基于

litehtml · Cairo · Pango · FontConfig · pybind11

MIT License

Metadata

Release files for pylitehtml 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylitehtml 0.2.2
File Size Uploaded Provenance Actions
pylitehtml-0.2.2.tar.gz 16.9 MB With provenance Details for pylitehtml-0.2.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pylitehtml 0.2.2
File Actions
pylitehtml-0.2.2-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for pylitehtml-0.2.2-cp314-cp314-win_amd64.whl
pylitehtml-0.2.2-cp314-cp314-manylinux_2_34_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ x86-64 Details for pylitehtml-0.2.2-cp314-cp314-manylinux_2_34_x86_64.whl
pylitehtml-0.2.2-cp314-cp314-manylinux_2_34_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ ARM64 Details for pylitehtml-0.2.2-cp314-cp314-manylinux_2_34_aarch64.whl
pylitehtml-0.2.2-cp314-cp314-macosx_15_0_arm64.whl CPython 3.14 CPython 3.14 macOS 15.0+ ARM64 Details for pylitehtml-0.2.2-cp314-cp314-macosx_15_0_arm64.whl
pylitehtml-0.2.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for pylitehtml-0.2.2-cp313-cp313-win_amd64.whl
pylitehtml-0.2.2-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details for pylitehtml-0.2.2-cp313-cp313-manylinux_2_34_x86_64.whl
pylitehtml-0.2.2-cp313-cp313-manylinux_2_34_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ ARM64 Details for pylitehtml-0.2.2-cp313-cp313-manylinux_2_34_aarch64.whl
pylitehtml-0.2.2-cp313-cp313-macosx_15_0_arm64.whl CPython 3.13 CPython 3.13 macOS 15.0+ ARM64 Details for pylitehtml-0.2.2-cp313-cp313-macosx_15_0_arm64.whl
pylitehtml-0.2.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for pylitehtml-0.2.2-cp312-cp312-win_amd64.whl
pylitehtml-0.2.2-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for pylitehtml-0.2.2-cp312-cp312-manylinux_2_34_x86_64.whl
pylitehtml-0.2.2-cp312-cp312-manylinux_2_34_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ ARM64 Details for pylitehtml-0.2.2-cp312-cp312-manylinux_2_34_aarch64.whl
pylitehtml-0.2.2-cp312-cp312-macosx_15_0_arm64.whl CPython 3.12 CPython 3.12 macOS 15.0+ ARM64 Details for pylitehtml-0.2.2-cp312-cp312-macosx_15_0_arm64.whl
pylitehtml-0.2.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for pylitehtml-0.2.2-cp311-cp311-win_amd64.whl
pylitehtml-0.2.2-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for pylitehtml-0.2.2-cp311-cp311-manylinux_2_34_x86_64.whl
pylitehtml-0.2.2-cp311-cp311-manylinux_2_34_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ ARM64 Details for pylitehtml-0.2.2-cp311-cp311-manylinux_2_34_aarch64.whl
pylitehtml-0.2.2-cp311-cp311-macosx_15_0_arm64.whl CPython 3.11 CPython 3.11 macOS 15.0+ ARM64 Details for pylitehtml-0.2.2-cp311-cp311-macosx_15_0_arm64.whl
pylitehtml-0.2.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for pylitehtml-0.2.2-cp310-cp310-win_amd64.whl
pylitehtml-0.2.2-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details for pylitehtml-0.2.2-cp310-cp310-manylinux_2_34_x86_64.whl
pylitehtml-0.2.2-cp310-cp310-manylinux_2_34_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ ARM64 Details for pylitehtml-0.2.2-cp310-cp310-manylinux_2_34_aarch64.whl
pylitehtml-0.2.2-cp310-cp310-macosx_15_0_arm64.whl CPython 3.10 CPython 3.10 macOS 15.0+ ARM64 Details for pylitehtml-0.2.2-cp310-cp310-macosx_15_0_arm64.whl

Total release size: 351.4 MB

Release files / pylitehtml-0.2.2.tar.gz

Download URL pylitehtml-0.2.2.tar.gz
Size 16.9 MB
Tags Source
SHA-256 checksum
How to use checksums
effadfbca41009142038691e6b7c353e15feb8f6548dd6470449fec40c244713
BLAKE2b-256 checksum
How to use checksums
91409fde040d27d34974e562bd2c89c20167e218d0fd0bba62565cd18595c816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp314-cp314-win_amd64.whl

Download URL pylitehtml-0.2.2-cp314-cp314-win_amd64.whl
Size 17.3 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
d4b7553ddd1ee7f0d7fb7a8c55d9d89ea2db7d292463f96999b9e1c0e187c977
BLAKE2b-256 checksum
How to use checksums
2855a43c4a9590c39abc5e622f18cad8ff042f1d8b0e868f4891b3b1a30e7397
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp314-cp314-manylinux_2_34_x86_64.whl

Download URL pylitehtml-0.2.2-cp314-cp314-manylinux_2_34_x86_64.whl
Size 17.0 MB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
e0e33d1f8a7059bf971e123e17f26d3163f751684ff8d100cc15b896204ed453
BLAKE2b-256 checksum
How to use checksums
7df7c94bd5b11c4536a1061eff96e352aa952b6865a7d3df8366a2480e4c0617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp314-cp314-manylinux_2_34_aarch64.whl

Download URL pylitehtml-0.2.2-cp314-cp314-manylinux_2_34_aarch64.whl
Size 16.5 MB
Tags CPython 3.14 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
ba960ac41f80c74408b1e9d48da27ffde3b0ccac6009fa1a2706af56fe229e5c
BLAKE2b-256 checksum
How to use checksums
0503e0ec011341d322122665fb4663bb8aa2c5c641c6a96e3b7b5d84b82fa304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp314-cp314-macosx_15_0_arm64.whl

Download URL pylitehtml-0.2.2-cp314-cp314-macosx_15_0_arm64.whl
Size 16.1 MB
Tags CPython 3.14 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
cd0a5b49d34d34358c6296be4e370bad553c2198dee09e34b5dc1e7f48bd9a40
BLAKE2b-256 checksum
How to use checksums
b032ff33ca94a4d0c9de19f2600f79a73f50bf4564ea3f912e3d5f86357f3186
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp313-cp313-win_amd64.whl

Download URL pylitehtml-0.2.2-cp313-cp313-win_amd64.whl
Size 17.3 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
213a1daf4cc04afee1bc32e7b0ffa8707350e93fdd75481bb01b043c30dcdc85
BLAKE2b-256 checksum
How to use checksums
d47dcd44de8327080edf8639ba87e04d88b2ce379224f81e26b7d8205b11a40c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL pylitehtml-0.2.2-cp313-cp313-manylinux_2_34_x86_64.whl
Size 17.0 MB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
06689a1b06b135c0f09c67a0a9ec298bf612091d88c8f83a8d2d701734b45e44
BLAKE2b-256 checksum
How to use checksums
f982717362747ecb482dc5aa02805d7f9d93d670e6e86342cda1cf85fa9631ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp313-cp313-manylinux_2_34_aarch64.whl

Download URL pylitehtml-0.2.2-cp313-cp313-manylinux_2_34_aarch64.whl
Size 16.5 MB
Tags CPython 3.13 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
3f7182ffbb4d965e371ae45c64d602f84157e440ec6532e78539edb94607c550
BLAKE2b-256 checksum
How to use checksums
49bb9aa4244280617f3d66a4c0a9ab8115fc21a213a41b7a0ba9e70c8bc12dc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp313-cp313-macosx_15_0_arm64.whl

Download URL pylitehtml-0.2.2-cp313-cp313-macosx_15_0_arm64.whl
Size 16.1 MB
Tags CPython 3.13 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
44b532df33afbe48746e9c7675efadad3ad6fc3275e7075a4b72123109661c8d
BLAKE2b-256 checksum
How to use checksums
61dd590f87796f766eb8eb639f2b2cf2c11b3e4b1a24a252ca704c6098067597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp312-cp312-win_amd64.whl

Download URL pylitehtml-0.2.2-cp312-cp312-win_amd64.whl
Size 17.3 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
665a22a53932d1d7bf2c0a70ad10350fe62232f38f63da5d203de3986cf50aac
BLAKE2b-256 checksum
How to use checksums
3e9f5e56314a00c61d91b3e8378b8822811420c705cd6d1dd710ec3367e20d16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL pylitehtml-0.2.2-cp312-cp312-manylinux_2_34_x86_64.whl
Size 17.0 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
2a9b7bdfac25bafc49c4132ee5c6c707d00b3c15eaed27db0a4c6e4fbf2baaa0
BLAKE2b-256 checksum
How to use checksums
7154afaf1dc62536ab08d4050d788c8b0eda40e074c6613f9b12b4c75462bd54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp312-cp312-manylinux_2_34_aarch64.whl

Download URL pylitehtml-0.2.2-cp312-cp312-manylinux_2_34_aarch64.whl
Size 16.5 MB
Tags CPython 3.12 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
931c2c058f60ec04b6dea8c9f1c26ddccab4fae42a0e30de0aca372c6e9bec00
BLAKE2b-256 checksum
How to use checksums
6cf5d14a9c5d13eff8c2ca8f115055207a35da8dbcbc94dc79e4f463c6ccc103
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp312-cp312-macosx_15_0_arm64.whl

Download URL pylitehtml-0.2.2-cp312-cp312-macosx_15_0_arm64.whl
Size 16.1 MB
Tags CPython 3.12 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
cfe167fc6cb087fead461a2bfec171d42c27e9136befd3d4822f05662c6650cb
BLAKE2b-256 checksum
How to use checksums
71e87e02289e8279b4f0f32cc3d62be2dacceceb4a60e804c6f5a5955f6c0c7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp311-cp311-win_amd64.whl

Download URL pylitehtml-0.2.2-cp311-cp311-win_amd64.whl
Size 17.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2a7893986ddf9e64b8d17110658e3b8d19774f8b8321f79dd8afc2d8af0fc2b0
BLAKE2b-256 checksum
How to use checksums
7561b42b8a20e45573985d26e5b6fad8accda465108121e5989497e82072fdf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL pylitehtml-0.2.2-cp311-cp311-manylinux_2_34_x86_64.whl
Size 17.0 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
b7358eab43aa584713b34b759b6b5dcdda58ae5680ea1d7bf55229a347488266
BLAKE2b-256 checksum
How to use checksums
9c4aaa9c730d6f1b6cca1424a5a3099712ab196a1c08bced9f23ae3d9b7d07f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp311-cp311-manylinux_2_34_aarch64.whl

Download URL pylitehtml-0.2.2-cp311-cp311-manylinux_2_34_aarch64.whl
Size 16.5 MB
Tags CPython 3.11 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
07476d2b565d894ee3623a8c32a781ab010f52ea04444d7c044bf4081f67a049
BLAKE2b-256 checksum
How to use checksums
faa75c2e43fe9ae1ed06caea06c3ab52cd2f2d7f7b5382dbbdbcfbfd3079772b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp311-cp311-macosx_15_0_arm64.whl

Download URL pylitehtml-0.2.2-cp311-cp311-macosx_15_0_arm64.whl
Size 16.1 MB
Tags CPython 3.11 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
9723d05fe5ad65586d39643d7dedf1fe57cdf4b4c68247b7abb204c130a9a71b
BLAKE2b-256 checksum
How to use checksums
c973503bc63919b281040d751a07687b48adb73acdc83510cb764db70feb4a2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp310-cp310-win_amd64.whl

Download URL pylitehtml-0.2.2-cp310-cp310-win_amd64.whl
Size 17.3 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
73e35f2c15c2550e03a29f8d9eb74d0e78dd17441d0a47b1235a7988ef538385
BLAKE2b-256 checksum
How to use checksums
daeea132f7b84608497c70f8039b2ac7fae9710443de4c5160b0732ee7c2cc6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL pylitehtml-0.2.2-cp310-cp310-manylinux_2_34_x86_64.whl
Size 17.0 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
9b1fe748fa8f15d574132905110dfa32fbf0c60d01926c5ffbdcfed0a5f9e72f
BLAKE2b-256 checksum
How to use checksums
346becde386555801551883b21ac0f6bede60f3fff40ec350a8a6adf2bef581b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp310-cp310-manylinux_2_34_aarch64.whl

Download URL pylitehtml-0.2.2-cp310-cp310-manylinux_2_34_aarch64.whl
Size 16.5 MB
Tags CPython 3.10 Linux glibc 2.34+ ARM64
SHA-256 checksum
How to use checksums
32b9966d55f5acb146ef120ff8eda87050e636ad56b93323b589f822836e10bf
BLAKE2b-256 checksum
How to use checksums
72f124d01eb24ab1fa766221dcc14e5fbad1b6389320162e66a2296a1ae3929d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Release files / pylitehtml-0.2.2-cp310-cp310-macosx_15_0_arm64.whl

Download URL pylitehtml-0.2.2-cp310-cp310-macosx_15_0_arm64.whl
Size 16.1 MB
Tags CPython 3.10 macOS 15.0+ ARM64
SHA-256 checksum
How to use checksums
ccd7908393b94c81a874bb2558efcadc1c0d02392058a5b8dbe69e7fdf7e4aba
BLAKE2b-256 checksum
How to use checksums
ab0e0e433b441207a5c3cf5386c0df7455885b5ba8cff00adbdfda9d10c66e6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

Security for pylitehtml 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 21 files in this release have been uploaded with provenance metadata.

Select from 21 files

Attestation for pylitehtml-0.2.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.2 This release

21 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page