diff options
| author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2019-10-19 16:02:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-19 16:02:55 +0300 |
| commit | e0a40577fdf371096b6d557a0db6dafdde5542c6 (patch) | |
| tree | c056ec3ecba68a27d8964a405d0a4c7b9a77aef3 | |
| parent | 4c3dc847b0f2e502e6f6237560fe69e57ab95d67 (diff) | |
| parent | 0329eb616829dba2d9e4baa4801cb667d5ae2365 (diff) | |
| download | tablib-e0a40577fdf371096b6d557a0db6dafdde5542c6.tar.gz | |
Update docs (#406)
Update docs
| -rw-r--r-- | docs/install.rst | 2 | ||||
| -rw-r--r-- | docs/intro.rst | 11 | ||||
| -rw-r--r-- | docs/tutorial.rst | 10 | ||||
| -rw-r--r-- | src/tablib/core.py | 4 |
4 files changed, 11 insertions, 16 deletions
diff --git a/docs/install.rst b/docs/install.rst index 67aa37d..b42fe07 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -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_ diff --git a/docs/intro.rst b/docs/intro.rst index 51e2db9..37a1c60 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -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>`. diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 4189269..a9e46b4 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -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 ------------------------------------ diff --git a/src/tablib/core.py b/src/tablib/core.py index 65dd901..0c9131d 100644 --- a/src/tablib/core.py +++ b/src/tablib/core.py @@ -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 |
