lxml is the most feature-rich and easy-to-use library for processing XML and HTML in the Python language. It's also very fast and memory friendly, just so you know. This can coexist with python3-lxml without issue. NOTE: The 5.0.x versions are the last to support python2.