A Python library for efficient XML and HTML processing, known for speed and compatibility. The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. It is unique in that it combines the speed and XML feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API. The latest release works with all CPython versions from 3.6 to 3.12. See the introduction for more information about the background and goals of the lxml project.

Features

  • Full XML and HTML parsing support
  • Access to XPath and XSLT tools
  • Supports HTML5lib for advanced parsing
  • Integration with C libraries for faster processing
  • Handles XML schema validation
  • Documentation available

Project Samples

Project Activity

See All Activity >

Categories

XML, Libraries

License

MIT License

Follow lxml

lxml Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of lxml!

Additional Project Details

Programming Language

Python

Related Categories

Python XML Software, Python Libraries

Registered

2024-10-25