Skip to content


Using pip

pip install xsdata[cli,lxml,soap]


  • Install the cli requirements for the code generator
  • Install the soap requirements for the builtin wsdl client
  • Install lxml for enhanced performance and advanced features

From repository

pip install xsdata[cli,lxml] @ git+

Using conda

conda install -c conda-forge xsdata

Verify installation

Verify installation using the cli entry point.

$ xsdata --help
Usage: xsdata [OPTIONS] COMMAND [ARGS]...

  Xsdata command line interface.

  --version  Show the version and exit.
  --help     Show this message and exit.

  generate*    Generate code from xsd, dtd, wsdl, xml and json files.
  download     Download a schema or a definition locally with all its...
  init-config  Create or update a configuration file.


xsData relies on these awesome libraries and supports python >= 3.8