diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2012-06-08 14:10:43 +0700 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2012-06-08 14:10:43 +0700 |
| commit | 7c0507bcce3399ba7f4b81e1dbd9c7d36e144a4f (patch) | |
| tree | 30ebd9345d78ebcbfa1021b5fd5a2a976f8930d3 | |
| parent | 652ac85549635428b89117a10d3584fc15fd4690 (diff) | |
| download | tablib-7c0507bcce3399ba7f4b81e1dbd9c7d36e144a4f.tar.gz | |
Fix typos.
| -rw-r--r-- | HISTORY.rst | 2 | ||||
| -rw-r--r-- | docs/development.rst | 2 | ||||
| -rw-r--r-- | docs/install.rst | 8 | ||||
| -rw-r--r-- | tablib/formats/_csv.py | 2 | ||||
| -rw-r--r-- | tablib/formats/_html.py | 2 | ||||
| -rw-r--r-- | tablib/formats/_json.py | 2 | ||||
| -rw-r--r-- | tablib/formats/_ods.py | 2 | ||||
| -rw-r--r-- | tablib/formats/_tsv.py | 2 | ||||
| -rw-r--r-- | tablib/formats/_xls.py | 2 | ||||
| -rw-r--r-- | tablib/formats/_xlsx.py | 2 | ||||
| -rw-r--r-- | tablib/formats/_yaml.py | 2 | ||||
| -rwxr-xr-x | test_tablib.py | 4 |
12 files changed, 16 insertions, 16 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index 0fa8a61..1950ed3 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -20,7 +20,7 @@ History * Dataset API Changes * ``stack_rows`` => ``stack``, ``stack_columns`` => ``stack_cols`` -* column operations have their own methods now (``apend_col``, ``insert_col``) +* column operations have their own methods now (``append_col``, ``insert_col``) * List-style ``pop()`` * Redis-style ``rpush``, ``lpush``, ``rpop``, ``lpop``, ``rpush_col``, and ``lpush_col`` diff --git a/docs/development.rst b/docs/development.rst index 03b6929..0b56457 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -46,7 +46,7 @@ Source Control Tablib source is controlled with Git_, the lean, mean, distributed source control machine. -The repository is publicly accessable. +The repository is publicly accessible. ``git clone git://github.com/kennethreitz/tablib.git`` diff --git a/docs/install.rst b/docs/install.rst index 48c6267..0e40679 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -2,7 +2,7 @@ Installation ============ -This part of the documentation covers the installation of Tablib. The first step to using any software package is getting it properly installed. Please read this section carefully, or you may miss out on some nice :ref:`speed enhancements <peed-extentions>`. +This part of the documentation covers the installation of Tablib. The first step to using any software package is getting it properly installed. Please read this section carefully, or you may miss out on some nice :ref:`speed enhancements <peed-extensions>`. .. _installing: @@ -57,15 +57,15 @@ To download the full source history from Git, see :ref:`Source Control <scm>`. .. _zipball: http://github.com/kennethreitz/tablib/zipball/master -.. _speed-extentions: -Speed Extentions +.. _speed-extensions: +Speed Extensions ---------------- .. versionadded:: 0.8.5 Tablib is partially dependent on the **pyyaml**, **simplejson**, and **xlwt** modules. To reduce installation issues, fully integrated versions of all required libraries are included in Tablib. -However, if performance is important to you (and it should be), you can install **pyyaml** with C extentions from PyPi. :: +However, if performance is important to you (and it should be), you can install **pyyaml** with C extensions from PyPi. :: $ pip install PyYAML diff --git a/tablib/formats/_csv.py b/tablib/formats/_csv.py index 549259c..3cda71b 100644 --- a/tablib/formats/_csv.py +++ b/tablib/formats/_csv.py @@ -7,7 +7,7 @@ from tablib.compat import is_py3, csv, StringIO title = 'csv' -extentions = ('csv',) +extensions = ('csv',) DEFAULT_ENCODING = 'utf-8' diff --git a/tablib/formats/_html.py b/tablib/formats/_html.py index ffde95f..19c8081 100644 --- a/tablib/formats/_html.py +++ b/tablib/formats/_html.py @@ -18,7 +18,7 @@ import tablib BOOK_ENDINGS = 'h3' title = 'html' -extentions = ('html', ) +extensions = ('html', ) def export_set(dataset): diff --git a/tablib/formats/_json.py b/tablib/formats/_json.py index e682603..944afe0 100644 --- a/tablib/formats/_json.py +++ b/tablib/formats/_json.py @@ -10,7 +10,7 @@ from tablib.packages import omnijson as json title = 'json' -extentions = ('json', 'jsn') +extensions = ('json', 'jsn') def export_set(dataset): diff --git a/tablib/formats/_ods.py b/tablib/formats/_ods.py index d8c4f8b..f43a26c 100644 --- a/tablib/formats/_ods.py +++ b/tablib/formats/_ods.py @@ -14,7 +14,7 @@ else: from tablib.compat import opendocument, style, table, text, unicode title = 'ods' -extentions = ('ods',) +extensions = ('ods',) bold = style.Style(name="bold", family="paragraph") bold.addElement(style.TextProperties(fontweight="bold", fontweightasian="bold", fontweightcomplex="bold")) diff --git a/tablib/formats/_tsv.py b/tablib/formats/_tsv.py index ac9554c..816b6e3 100644 --- a/tablib/formats/_tsv.py +++ b/tablib/formats/_tsv.py @@ -8,7 +8,7 @@ from tablib.compat import is_py3, csv, StringIO title = 'tsv' -extentions = ('tsv',) +extensions = ('tsv',) DEFAULT_ENCODING = 'utf-8' diff --git a/tablib/formats/_xls.py b/tablib/formats/_xls.py index ebec9e1..9ca0eb3 100644 --- a/tablib/formats/_xls.py +++ b/tablib/formats/_xls.py @@ -11,7 +11,7 @@ from tablib.packages.xlrd.biffh import XLRDError import tablib title = 'xls' -extentions = ('xls',) +extensions = ('xls',) # special styles wrap = xlwt.easyxf("alignment: wrap on") diff --git a/tablib/formats/_xlsx.py b/tablib/formats/_xlsx.py index 9cd63b5..957fc64 100644 --- a/tablib/formats/_xlsx.py +++ b/tablib/formats/_xlsx.py @@ -21,7 +21,7 @@ from tablib.compat import unicode title = 'xlsx' -extentions = ('xlsx',) +extensions = ('xlsx',) def export_set(dataset): """Returns XLSX representation of Dataset.""" diff --git a/tablib/formats/_yaml.py b/tablib/formats/_yaml.py index 1c4f8d4..91a3baa 100644 --- a/tablib/formats/_yaml.py +++ b/tablib/formats/_yaml.py @@ -19,7 +19,7 @@ import tablib title = 'yaml' -extentions = ('yaml', 'yml') +extensions = ('yaml', 'yml') diff --git a/test_tablib.py b/test_tablib.py index aab1b0f..b6e1dac 100755 --- a/test_tablib.py +++ b/test_tablib.py @@ -306,7 +306,7 @@ class TablibTestCase(unittest.TestCase): def test_unicode_append(self): - """Passes in a single unicode charecter and exports.""" + """Passes in a single unicode character and exports.""" new_row = ('å', 'é') data.append(new_row) @@ -322,7 +322,7 @@ class TablibTestCase(unittest.TestCase): def test_book_export_no_exceptions(self): - """Test that varoius exports don't error out.""" + """Test that various exports don't error out.""" book = tablib.Databook() book.add_sheet(data) |
