@@ -77,6 +77,7 @@ The highlighted features are:
7777 `pyexcel-handsontable `_ handsontable in html `handsontable `_ same as above
7878 `pyexcel-pygal `_ svg chart `pygal `_ 2.7, 3.3, 3.4, 3.5
7979 3.6, pypy
80+ `pyexcel-sortable `_ sortable table in html `csvtotable `_ same as above
8081 ======================== ======================= =============== ==================
8182
8283.. _pyexcel-io : https://github.com/pyexcel/pyexcel-io
@@ -102,6 +103,8 @@ The highlighted features are:
102103.. _pygal : https://github.com/Kozea/pygal
103104.. _pyexcel-matplotlib : https://github.com/pyexcel/pyexcel-matplotlib
104105.. _matplotlib : https://matplotlib.org
106+ .. _pyexcel-sortable : https://github.com/pyexcel/pyexcel-sortable
107+ .. _csvtotable : https://github.com/vividvilla/csvtotable
105108
106109
107110In order to manage the list of plugins installed, you need to use pip to add or remove
@@ -169,10 +172,14 @@ A minimal application may look like this:
169172
170173.. literalinclude :: ../../examples/tiny_example.py
171174
172- The tiny application exposes two urls: one for file upload and the other for
173- file download. The former url presents a simple file upload html and responds
175+ The tiny application exposes four urls:
176+
177+ #. one for file upload
178+ #. three urls for file download.
179+
180+ The first url presents a simple file upload html and responds
174181back in json with the content of the uploaded file. Here is an
175- `example file <https://github.com/pyexcel/Flask-Excel/blob/master/examples/example_for_upload.csv> `
182+ `example file <https://github.com/pyexcel/Flask-Excel/blob/master/examples/example_for_upload.csv >`_
176183for testing but you can upload any other excel file. The file upload handler
177184uses `request.get_array ` to parse the uploaded file and gets an array back.
178185The parameter **file ** is coded in the html form::
@@ -184,8 +191,8 @@ The parameter **file** is coded in the html form::
184191 in upload_file() function, your browser would display "Bad Request: The
185192 browser (or proxy) sent a request that this server could not understand."
186193
187- The latter simply throws back a csv file whenever a http request is made to
188- http://localhost:50000/download/. ` excel.make_response_from_array ` takes a
194+ The rest of the links simply throw back a csv file whenever a http request is made to
195+ http://localhost:50000/download/. :meth: ` ~ excel.make_response_from_array ` takes a
189196list of lists and a file type as parameters and sets up the mime type of the
190197http response. If you would like to give 'tsvz' a go, please change "csv" to
191198"tsvz".
@@ -240,7 +247,6 @@ Alternatively, you can find the complete example on
240247Now let's add the following imports first::
241248
242249 from flask_sqlalchemy import SQLAlchemy # sql operations
243- import pyexcel.ext.xls # import it to be able to handle xls file format
244250
245251Now configure the database connection. Sqllite will be used and **tmp.db ** will
246252be used and can be found in your current working directory::
0 commit comments