Fix typos.

This commit is contained in:
Bruce Mitchener 2012-06-08 14:10:43 +07:00
parent 652ac85549
commit 7c0507bcce
12 changed files with 16 additions and 16 deletions

View File

@ -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``

View File

@ -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``

View File

@ -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

View File

@ -7,7 +7,7 @@ from tablib.compat import is_py3, csv, StringIO
title = 'csv'
extentions = ('csv',)
extensions = ('csv',)
DEFAULT_ENCODING = 'utf-8'

View File

@ -18,7 +18,7 @@ import tablib
BOOK_ENDINGS = 'h3'
title = 'html'
extentions = ('html', )
extensions = ('html', )
def export_set(dataset):

View File

@ -10,7 +10,7 @@ from tablib.packages import omnijson as json
title = 'json'
extentions = ('json', 'jsn')
extensions = ('json', 'jsn')
def export_set(dataset):

View File

@ -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"))

View File

@ -8,7 +8,7 @@ from tablib.compat import is_py3, csv, StringIO
title = 'tsv'
extentions = ('tsv',)
extensions = ('tsv',)
DEFAULT_ENCODING = 'utf-8'

View File

@ -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")

View File

@ -21,7 +21,7 @@ from tablib.compat import unicode
title = 'xlsx'
extentions = ('xlsx',)
extensions = ('xlsx',)
def export_set(dataset):
"""Returns XLSX representation of Dataset."""

View File

@ -19,7 +19,7 @@ import tablib
title = 'yaml'
extentions = ('yaml', 'yml')
extensions = ('yaml', 'yml')

View File

@ -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)