You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+3-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ django-excel - Let you focus on data, instead of file formats
23
23
.. image:: http://img.shields.io/gittip/chfw.svg
24
24
:target:https://gratipay.com/chfw/
25
25
26
-
**django-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 Pythonic 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.
26
+
**django-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 Pythonic a list of lists, a list of records(dictionaries), dictionaries of lists. And vice versa. Hence it lets you focus on data in Django web development, instead of file formats.
27
27
28
28
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.
29
29
@@ -63,6 +63,7 @@ Installation
63
63
============
64
64
You can install it from github only for now::
65
65
66
+
$ pip install git+https://github.com/chfw/pyexcel.git # pyexcel v0.1.3 is not released yet
Copy file name to clipboardExpand all lines: doc/source/index.rst
+13-10
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Welcome to django-excel's documentation!
13
13
:Version: |version|
14
14
:Generated: |today|
15
15
16
-
**django-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 Pythonic 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.
16
+
**django-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 Pythonic a list of lists, a list of records(dictionaries), dictionaries of lists. And vice versa. Hence it lets you focus on data in Django web development, instead of file formats.
17
17
18
18
The highlighted features are:
19
19
@@ -49,6 +49,7 @@ Installation
49
49
--------------
50
50
You can install it from github only for now::
51
51
52
+
$ pip install git+https://github.com/chfw/pyexcel.git # pyexcel v0.1.3 is not released yet
:param table: a database table or a tuple which have this sequence (table, table_init_func, mapdict, name_columns_by_row, name_rows_by_column)
325
-
:param table_init_func: it is needed when your table had custom __init__ function
326
-
:param mapdict: it is needed when the uploaded sheet had a different column headers than the table column names this mapdict tells which column of the upload sheet maps to which column of the table
327
-
:param name_columns_by_row: uses the first row of the sheet to be column headers by default. if you use name_rows_by_column, please set this to -1
328
-
:param name_rows_by_column: uses a column to name rows.
:param tables: a list of database tables or tuples which have this sequence (table, table_init_func, mapdict, name_columns_by_row, name_rows_by_column)
335
-
:param table_init_funcs: it is needed when your table had custom __init__ function
336
-
:param mapdict: it is needed when the uploaded sheet had a different column headers than the table column names. this mapdict tells which column of the upload sheet maps to which column of the table
337
-
:param name_columns_by_row: uses the first row of each sheet to be column headers by default. if you use name_rows_by_column, please set this to -1
338
-
:param name_rows_by_column: uses a column to name rows.
341
+
:param tables: a list of database tables or tuples which have this sequence (table, table_init_func, mapdict, name_columns_by_row, name_rows_by_column), see :meth:`~ExcelMixin.save_to_database`
339
342
:param keywords: additional keywords to pyexcel library
0 commit comments