{ "info": { "author": "Josua Krause", "author_email": "josua.krause@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "surveyengine\n============\n\nA customizable survey web user interface.\n\nYou can install *surveyengine* via\n\n.. code:: bash\n\n pip install --user surveyengine\n\nand run it via:\n\n.. code:: bash\n\n python -m surveyengine spec.json output/\n\nWhere ``output`` is the output folder for the results and ``spec.json`` is a\nsurvey specification:\n\n.. code:: javascript\n\n {\n \"title\": \"Survey Title Here\", // the survey title\n \"pages\": [ // a sequence of pages\n {\n \"lines\": [\n \"first line\", // plain text that will be displayed\n \"second line {foo}\" // displays: second line bar\n ],\n \"vars\": { // defines local variables\n \"foo\": \"bar\"\n },\n \"pid\": \"start\" // the id for the page (used as prefix in the result file)\n \"continue\": \"next\", // creates a single button at the bottom -- default (\"next\") can be omitted\n \"type\": \"plain\" // the type of page -- default (\"plain\") can be omitted\n }, {\n \"type\": \"each\", // repeats a sequence of pages\n \"name\": \"ix\", // the iteration variable name -- it can be used via {ix} in fields\n \"name_next\": \"ix_next\", // \"name_next\" and \"name_prev\" are optional variables containing the next / previous iteration\n \"vars\": { // defines local variables\n \"img_len\": 25 // we define the range as variable so we can use it in the text\n },\n \"to\": \"{img_len}\", // iterate until this number\n \"pages\": [\n // ... pages to repeat ...\n {\n \"lines\": [\n \"image {ix_next} / {img_len}\", // displays: image 1 / 25\n [ \"img\", \"path/to/image{ix}.png\", \"\" ] // the image to display\n ],\n \"pid\": \"question:{ix}\" // the id for the page\n \"continue\": \"choice\", // creates a collection of buttons at the bottom\n \"values\": [ // the values to choose from\n \"yes\",\n \"no\"\n ]\n }\n ]\n // this page type does not have a \"continue\" field\n }, {\n \"lines\": [\n // other special lines\n // [ question_type, display_text, question_id ]\n [ \"text\", \"just text\", \"\" ], // simple text -- equivalent to \"just text\"\n [ \"likert\", \"fun\", \"fun\" ], // likert scale\n [ \"likert\", \"confidence\", \"conf\" ]\n ],\n \"pid\": \"specials\"\n }, {\n \"lines\": [\n \"Thanks! {_token}\" // _token is a special variable containing the user id\n ],\n \"continue\": \"end\", // indicates the end of the survey -- this page must exist\n \"pid\": \"end\"\n }\n ]\n }\n\nEach user creates a result file with its unique token in the output folder.\nThe result file is a JSON file containing all answers.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JosuaKrause/surveyengine", "keywords": "survey web server", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "surveyengine", "package_url": "https://pypi.org/project/surveyengine/", "platform": "", "project_url": "https://pypi.org/project/surveyengine/", "project_urls": { "Homepage": "https://github.com/JosuaKrause/surveyengine" }, "release_url": "https://pypi.org/project/surveyengine/0.0.3/", "requires_dist": [ "quick-server" ], "requires_python": "", "summary": "surveyengine is a customizable survey web user interface.", "version": "0.0.3" }, "last_serial": 3032925, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "83434345211b7ec9e38f7f70351f2fd5", "sha256": "8acb48417d0b72a51fbdb793b7c00376e2be476208cb274a191b500fdda6dbf1" }, "downloads": -1, "filename": "surveyengine-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "83434345211b7ec9e38f7f70351f2fd5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4210, "upload_time": "2017-07-18T21:56:06", "url": "https://files.pythonhosted.org/packages/a8/2d/f40f7f844fad94ea56cb8d463b369eac297e79cefc6acc10871411b7e6fe/surveyengine-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a38b4a8ef6035d5fff045d01626ae4c", "sha256": "944720f5d44cda5941951350f4dd63aa5ad18bec6e4481b8ad5bd5f10afab288" }, "downloads": -1, "filename": "surveyengine-0.0.1.tar.gz", "has_sig": false, "md5_digest": "1a38b4a8ef6035d5fff045d01626ae4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3358, "upload_time": "2017-07-18T21:56:07", "url": "https://files.pythonhosted.org/packages/9d/46/ff14f65c2d327165c72b2e09988a0e4858129a3155d06bd8a89c2e93cda0/surveyengine-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "56d6c76b9f2cad6f68eb238763b890cc", "sha256": "03f012b16d037eb31837bf2771d4643892502fff86b9297b1cc0bdc2b0928209" }, "downloads": -1, "filename": "surveyengine-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "56d6c76b9f2cad6f68eb238763b890cc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4457, "upload_time": "2017-07-18T23:43:11", "url": "https://files.pythonhosted.org/packages/b9/bd/b273aaa0cd87232811139e0a712186fd731fe098e7c48f1916c374a09508/surveyengine-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "292e1b7f721e04b10f693c77d793b61b", "sha256": "3e7c637248e81ac9edfdc8bc7175e338692d1425ce291d08a713ea0279653952" }, "downloads": -1, "filename": "surveyengine-0.0.2.tar.gz", "has_sig": false, "md5_digest": "292e1b7f721e04b10f693c77d793b61b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3491, "upload_time": "2017-07-18T23:43:12", "url": "https://files.pythonhosted.org/packages/ea/5a/5194281404915bcab6237cdef61bac090fb47dc36732895e51aa668c8433/surveyengine-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "5839d6389ceef84ec5167c117d319ea6", "sha256": "a67fb5d88f9cbfbc521bb7b9ed14f50421f20e5cd8f7d025e4b16386ca821f93" }, "downloads": -1, "filename": "surveyengine-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5839d6389ceef84ec5167c117d319ea6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4550, "upload_time": "2017-07-19T00:37:35", "url": "https://files.pythonhosted.org/packages/2e/25/0c604013f67d9e1f84ab03b6225d3b89522b271c3e2adb84cc2ad55da4b5/surveyengine-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcf9049f7cbe1a0875b049f062248197", "sha256": "f1e60e3a5947cfe6ab2c28c3e29c476d9a7fef385b3fc564c5d86a6df7327d64" }, "downloads": -1, "filename": "surveyengine-0.0.3.tar.gz", "has_sig": false, "md5_digest": "bcf9049f7cbe1a0875b049f062248197", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3545, "upload_time": "2017-07-19T00:37:37", "url": "https://files.pythonhosted.org/packages/9d/64/4f49732d3ac325ec65c63876a281c4c517b1e9b93b3b4b94f924d743e00b/surveyengine-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5839d6389ceef84ec5167c117d319ea6", "sha256": "a67fb5d88f9cbfbc521bb7b9ed14f50421f20e5cd8f7d025e4b16386ca821f93" }, "downloads": -1, "filename": "surveyengine-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5839d6389ceef84ec5167c117d319ea6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4550, "upload_time": "2017-07-19T00:37:35", "url": "https://files.pythonhosted.org/packages/2e/25/0c604013f67d9e1f84ab03b6225d3b89522b271c3e2adb84cc2ad55da4b5/surveyengine-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcf9049f7cbe1a0875b049f062248197", "sha256": "f1e60e3a5947cfe6ab2c28c3e29c476d9a7fef385b3fc564c5d86a6df7327d64" }, "downloads": -1, "filename": "surveyengine-0.0.3.tar.gz", "has_sig": false, "md5_digest": "bcf9049f7cbe1a0875b049f062248197", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3545, "upload_time": "2017-07-19T00:37:37", "url": "https://files.pythonhosted.org/packages/9d/64/4f49732d3ac325ec65c63876a281c4c517b1e9b93b3b4b94f924d743e00b/surveyengine-0.0.3.tar.gz" } ] }