bisibility — Track Google rankings and Search Console insights. Free during beta.
Try bisibility freeOur product
Favicon of lxml

lxml

PublishedLast updated

A fast Python library for parsing XML and HTML, often used as a foundation for scraping and data tools.

Screenshot of lxml website

lxml is a fast, feature-rich Python library for working with XML and HTML. It is widely used as a dependable parser beneath scraping, automation, and data workflows.

Key Features:

  • XML And HTML Parsing - Handles structured XML and messy HTML in Python.
  • Python Package - Available on PyPI as the lxml package.
  • Open Source - Published under the BSD-3-Clause license.
Categories:
Features:
HTML ParsingXML ParsingPython SDKOpen Source

Share:

bisibility

Growing a website? Track its keywords, Google rankings, Search Console insights, and share of voice with bisibility. Free during beta.

Try bisibility freeOur product

Source code

lxml/lxml

  • Stars

    3.1K
  • Forks

    657
  • Last commit

    2026-10-07
  • License

    BSD-3-Clause
  • Language

    Python

Metrics recorded 2026-10-16

Repository details

Last push: 2026-10-11

License source: Repository license file

View Repository

Frequently asked questions

What is the purpose of lxml?

lxml parses and manipulates XML and HTML in Python. Its ElementTree-compatible interface supports tree traversal and XPath, with additional APIs for HTML and XSLT. Select the appropriate parser and parser options for the input.

Sources (checked ): lxml tutorial

How do I install lxml?

Install lxml through pip following the project’s platform guidance. A compatible binary wheel avoids a local source build. Building from source requires the documented compiler and libxml2/libxslt development dependencies.

Sources (checked ): lxml installation

Is lxml a standard Python library?

No. lxml is installed separately from Python’s standard library. It provides an ElementTree-compatible API and additional XML/HTML features; standard-library examples and lxml examples are not always interchangeable.

Sources (checked ): lxml tutorial; lxml installation

Similar to lxml

Favicon

 

  
  
Favicon

 

  
  
Favicon

 

  
  

Sources

github.com

Verified against the lxml/lxml repository and the PyPI package.