Update docs

This commit is contained in:
Hugo
2019-10-19 15:33:33 +03:00
parent 4c3dc847b0
commit 0329eb6168
4 changed files with 11 additions and 16 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ Of course, the recommended way to install Tablib is with `pip <https://pip.pypa.
Download the Source
-------------------
You can also install tablib from source.
You can also install Tablib from source.
The latest release (|version|) is available from GitHub.
* tarball_
+3 -8
View File
@@ -6,7 +6,7 @@ Introduction
This part of the documentation covers all the interfaces of Tablib.
Tablib is a format-agnostic tabular dataset library, written in Python.
It allows you to Pythonically import, export, and manipulate tabular data sets.
Advanced features include segregation, dynamic columns, tags / filtering, and
Advanced features include segregation, dynamic columns, tags/filtering, and
seamless format import/export.
@@ -74,11 +74,6 @@ THE SOFTWARE.
Pythons Supported
-----------------
At this time, the following Python versions are officially supported:
Python 2.7 and 3.5+ are officially supported.
* CPython 2.7
* CPython 3.5
* CPython 3.6
* CPython 3.7
Now, go :ref:`Install Tablib <install>`.
Now, go :ref:`install Tablib <install>`.
+5 -5
View File
@@ -200,7 +200,7 @@ Delete a range of rows::
Advanced Usage
==============
This part of the documentation services to give you an idea that are otherwise hard to extract from the :ref:`API Documentation <api>`
This part of the documentation services to give you an idea that are otherwise hard to extract from the :ref:`API Documentation <api>`.
And now for something completely different.
@@ -300,11 +300,11 @@ It's that simple. The original :class:`Dataset` is untouched.
Open an Excel Workbook and read first sheet
-------------------------------------------
To open an Excel 2007 and later workbook with a single sheet (or a workbook with multiple sheets but you just want the first sheet), use the following:
Open an Excel 2007 and later workbook with a single sheet (or a workbook with multiple sheets but you just want the first sheet). ::
data = tablib.Dataset()
data.xlsx = open('my_excel_file.xlsx', 'rb').read()
print(data)
data = tablib.Dataset()
data.xlsx = open('my_excel_file.xlsx', 'rb').read()
print(data)
Excel Workbook With Multiple Sheets
------------------------------------
+2 -2
View File
@@ -119,7 +119,7 @@ class Dataset(object):
Setting columns is similar. The column data length must equal the
current height of the data and headers must be set ::
current height of the data and headers must be set. ::
data = tablib.Dataset()
data.headers = ('first_name', 'last_name')
@@ -593,7 +593,7 @@ class Dataset(object):
"""A HTML table representation of the :class:`Dataset` object. If
headers have been set, they will be used as table headers.
..notice:: This method can be used for export only.
.. notice:: This method can be used for export only.
"""
pass