Getting started

Prerequisites

Make sure you have python >= 3.7 and pip up and running.

$ python --version
Python 3.7.3
$ pip --version
pip 20.0.2 from /home/docs/checkouts/readthedocs.org/user_builds/xsdata/envs/v20.2/lib/python3.7/site-packages/pip (python 3.7)

Install xsData

Install xsData package using pip.

pip install xsdata

Verify installation using the cli entry point.

$ xsdata --help
Usage: xsdata [OPTIONS] XSD_PATH

Options:
  --package TEXT                Target Package  [required]
  --renderer [pydata|plantuml]  Output renderer
  --print                       Preview the resulting classes.
  -v, --verbosity LVL           Either CRITICAL, ERROR, WARNING, INFO or DEBUG
  --help                        Show this message and exit.

xsData relies on these awesome libraries