.. image:: https://travis-ci.org/XLSForm/pyxform.svg?branch=master
pyxform is a Python library that makes writing XForms for ODK Collect and enketo
easy by converting XLS(X) spreadsheets into XForms. A new user of pyxform should
look at the documentation `here <https://formhub.org/syntax/>`_ or
pyxform is used by `opendatakit.org <http://opendatakit.org>`_ and by `formhub.org <http://formhub.org>`_.
* opendatakit.org uses the repo here:
* formhub.org uses the repo here:
pyxform is a major rewrite of `xls2xform <http://github.com/mvpdev/xls2xform/>`_.
Running pyxform as a Python script:
1. install xlrd.
#On ubuntu these terminal commands should do it:
pip install xlrd
2. Run this command:
python pyxform/xls2xform.py path_to_XLSForm output_path
Installing pyxform from github is easy with pip::
pip install -e git+https://github.com/INSERT GH USER NAME HERE/pyxform.git@master#egg=pyxform
To make sure the install worked out, you can do the following::
pip install nose==1.0.0
To check out the documentation for pyxform do the following::
pip install Sphinx==1.0.7
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.