Installation#

This part of the documentation covers the installation of pydantic-xml library.

Installation using pip#

To install pydantic-xml, run:

$ pip install pydantic-xml[lxml]

Hint

pydantic-xml library supports lxml as an xml serializer backend. To use lxml instead of standard xml.etree.ElementTree parser install lxml extra.