pyxform is a Python library that makes writing XForms for ODK Collect and enketo easy by converting XLS(X) spreadsheets into XForms. It is used as a library in a number of tools including the ODK online converter and Ona.
For those who want to convert forms at the command line, pyxform can be installed directly from the command line using pip:
$ pip install pyxform
The :command:`xls2xform` command can then be used:
$ xls2xform path_to_XLSForm output_path
Tip
For further queries or for more information please refer to the Github repo.