SMPy is a Python front-end alternative to the SurveyMan Language and Runtime System. It is an intuitive way to programmatically generate SurveyMan survey instances. SMPy outputs a JSON representation of a survey that can be parsed by the SurveyMan Language and deployed by the Runtime System, Runner.
To download, run
pip install SMPy
Start Python and call
python> import surveyman
Alternately, clone this repository and run
python setup.py install
.
See examples/example_survey.py
for how to use this library.
This library is primarily the work of @mmcmahon13, with guidance and packaging help from @etosch.
Apache 2.0