For almost two decades, lxml has been the go-to choice for parsing XML and HTML in Python. It’s fast, reliable, and feature-rich — a powerful C-based library that has served the ecosystem extremely well.

But the world has changed. XML and HTML parsing have new performance demands, and developers expect cleaner, faster, and more Pythonic APIs.

That’s where pygixml (for XML) and selectolax (for HTML) come in — two modern parsing libraries built with Cython and inspired by low-level speed but high-level usability.


🕰️ A Brief Look Back at lxml

Let’s give credit where it’s due. lxml revolutionized parsing when it came out — it combined the power of the C-based libxml2 with a clean Python API. For years, it was the de facto standard for working with …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help