Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #4358

[Python-announce] JustHTML 1.6.0 released

From Emil Stenström <emil@emilstenstrom.se>
Newsgroups comp.lang.python.announce
Subject [Python-announce] JustHTML 1.6.0 released
Date 2026-02-07 12:05 +0100
Message-ID <dbd1939e-f18e-446d-8c85-d4237eb6338a@app.fastmail.com> (permalink)

Show all headers | View raw


Subject: JustHTML 1.6.0 — pure-Python HTML5 parser (CSS selectors + sanitizer)

Install: pip install justhtml
Repo: https://github.com/EmilStenstrom/justhtml
Docs: https://emilstenstrom.github.io/justhtml/

Example (CSS selectors):
from justhtml import JustHTML
doc = JustHTML("<div><p class='x'>Hi</p><p>Bye</p></div>", fragment=True)
print(doc.query_one("div p.x").to_html(pretty=False))
# <p class="x">Hi</p>

License: MIT
Contact: emil@emilstenstrom.se

<P><A HREF="https://emilstenstrom.github.io/justhtml/">JustHTML 1.6.0</A> - Pure-Python
HTML5 parser with CSS selectors and built-in sanitization. (07-Feb-26)

--
Emil Stenström

Back to comp.lang.python.announce | Previous | Next | Find similar


Thread

[Python-announce] JustHTML 1.6.0 released Emil Stenström <emil@emilstenstrom.se> - 2026-02-07 12:05 +0100

csiph-web