Skip to content

Commit fb50737

Browse files
committed
documentation update
1 parent 852f9e5 commit fb50737

File tree

2 files changed

+51
-10
lines changed

2 files changed

+51
-10
lines changed

Diff for: README.rst

+22-9
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,20 @@ Flask-Excel - Let you focus on data, instead of file formats
1414
.. image:: http://img.shields.io/gittip/chfw.svg
1515
:target: https://gratipay.com/chfw/
1616

17-
**Flask-Excel** is based on `pyexcel <https://github.com/chfw/pyexcel>`_ and makes it easy to consume/produce information stored in excel files over HTTP protocol as well as on file system. This library can turn the excel data into a list of lists, a list of records(dictionaries), dictionaries of lists. And vice versa. Hence it lets you focus on data in Flask based web development, instead of file formats.
18-
19-
The idea originated from the problem of the illiteracy of excel file formats of non-technical office workers: such as office assistant, human resource administrator. There is nothing with the un-deniable fact that some people do not know the difference among various excel formats. It becomes usability problem to those people when a web service cannot parse the excel file that they saved using Microsoft Excel. Instead of training those people about file formats, this library helps web developers to handle most of the excel file formats by unifying the programming interface to most of the excel readers and writers.
17+
**Flask-Excel** is based on `pyexcel <https://github.com/chfw/pyexcel>`_ and makes
18+
it easy to consume/produce information stored in excel files over HTTP protocol as
19+
well as on file system. This library can turn the excel data into a list of lists,
20+
a list of records(dictionaries), dictionaries of lists. And vice versa. Hence it
21+
lets you focus on data in Flask based web development, instead of file formats.
22+
23+
The idea originated from the problem of the illiteracy of excel file formats of
24+
non-technical office workers: such as office assistant, human resource administrator.
25+
There is nothing with the un-deniable fact that some people do not know the
26+
difference among various excel formats. It becomes usability problem to those
27+
people when a web service cannot parse the excel file that they saved using
28+
Microsoft Excel. Instead of training those people about file formats, this library
29+
helps web developers to handle most of the excel file formats by unifying the
30+
programming interface to most of the excel readers and writers.
2031

2132
The highlighted features are:
2233

@@ -28,14 +39,16 @@ The highlighted features are:
2839
Available Plugins
2940
=================
3041

31-
================ ========================================================================
32-
Plugins Supported file formats
33-
================ ========================================================================
42+
================ ==========================================
43+
Plugins Supported file formats
44+
================ ==========================================
3445
`pyexcel-xls`_ xls, xlsx(r), xlsm(r)
3546
`pyexcel-xlsx`_ xlsx
36-
`pyexcel-ods`_ ods (python 2.6, 2.7)
37-
`pyexcel-ods3`_ ods (python 2.7, 3.3, 3.4)
38-
================ ========================================================================
47+
`pyexcel-ods`_ ods (python 2.6, 2.7)
48+
`pyexcel-ods3`_ ods (python 2.7, 3.3, 3.4)
49+
`text`_ write only)json, rst, mediawiki,
50+
latex, grid, pipe, orgtbl, plain simple
51+
================ ==========================================
3952

4053
.. _pyexcel-xls: https://github.com/chfw/pyexcel-xls
4154
.. _pyexcel-xlsx: https://github.com/chfw/pyexcel-xlsx

Diff for: doc/source/index.rst

+29-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,35 @@ The highlighted features are:
4444
.. _ods3: https://github.com/chfw/pyexcel-ods3
4545
.. _text: https://github.com/chfw/pyexcel-text
4646

47-
This library makes infomation processing involving various excel files as easy as processing array, dictionary when processing file upload/download, data import into and export from SQL databases, information analysis and persistence. It uses **pyexcel** and its plugins: 1) to provide one uniform programming interface to handle csv, tsv, xls, xlsx, xlsm and ods formats. 2) to provide one-stop utility to import the data in uploaded file into a database and to export tables in a database as excel files for file download 3) to provide the same interface for information persistence at server side: saving a uploaded excel file to and loading a saved excel file from file system.
47+
This library makes infomation processing involving various excel files as easy as processing array and dictionary. The information processing job includes when processing file upload/download, data import into and export from SQL databases, information analysis and persistence. It uses **pyexcel** and its plugins: 1) to provide one uniform programming interface to handle csv, tsv, xls, xlsx, xlsm and ods formats. 2) to provide one-stop utility to import the data in uploaded file into a database and to export tables in a database as excel files for file download 3) to provide the same interface for information persistence at server side: saving a uploaded excel file to and loading a saved excel file from file system.
48+
49+
Installation
50+
-------------------
51+
52+
You can install it via pip::
53+
54+
$ pip install Flask-Excel
55+
56+
57+
or clone it and install it::
58+
59+
$ git clone http://github.com/chfw/Flask-Excel.git
60+
$ cd Flask-Excel
61+
$ python setup.py install
62+
63+
Installation of individual plugins , please refer to individual plugin page.
64+
65+
Setup
66+
------------------------
67+
68+
In your application, you must import it before using it::
69+
70+
from flask.ext import excel
71+
72+
or::
73+
74+
import flask.ext.excel
75+
4876

4977
Quick start
5078
------------

0 commit comments

Comments
 (0)