Skip to content

Commit d32d4e9

Browse files
authored
Merge pull request #5 from python-tableformatter/lowercase_name
Renamed module to "tableformatter" (all lowercase)
2 parents 6d86f02 + 8be2612 commit d32d4e9

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ to this function is ``rows`` which is an Iterable of Iterables such as a list of
4141
a 2D [numpy](http://www.numpy.org) array. ``generate_table`` outputs a nicely formatted table:
4242

4343
```Python
44-
>>> from TableFormatter import generate_table
44+
>>> from tableformatter import generate_table
4545

4646
>>> rows = [('A1', 'A2', 'A3', 'A4'),
4747
... ('B1', 'B2\nB2\nB2', 'B3', 'B4'),
@@ -58,6 +58,8 @@ a 2D [numpy](http://www.numpy.org) array. ``generate_table`` outputs a nicely f
5858
╚════╧════╧════╧════╝
5959
```
6060

61+
*NOTE: Rendering of tables looks much better in Python than it appears in this Markdown file.*
62+
6163
Column Headers
6264
--------------
6365
The second argument to ``generate_table`` named ``columns`` is optional and defines a list of column headers to be used.
@@ -88,7 +90,7 @@ Supported grid sytles are:
8890
* **SparseGrid** - sparse grid with no lines at all to conserve both vertical and horizontal space
8991

9092
```Python
91-
>>> from TableFormatter import FancyGrid
93+
>>> from tableformatter import FancyGrid
9294

9395
>>> print(generate_table(rows, grid_style=FancyGrid))
9496
╔════╤════╤════╤════╗

examples/simple_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
# coding=utf-8
3-
from TableFormatter import generate_table, FancyGrid, SparseGrid, Column
3+
from tableformatter import generate_table, FancyGrid, SparseGrid, Column
44

55
"""
66
Simple demonstration of TableFormatter with a list of objects for the table entries.

examples/simple_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
# coding=utf-8
3-
from TableFormatter import generate_table, FancyGrid, SparseGrid
3+
from tableformatter import generate_table, FancyGrid, SparseGrid
44
"""
55
Simple demonstration of TableFormatter with a list of tuples as table entries.
66
TableFormatter will automatically expand the row height to handle multi-line entries.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
url='https://github.com/python-tableformatter/tableformatter',
5454
license='MIT',
5555
platforms=['any'],
56-
py_modules = ['TableFormatter'],
56+
py_modules = ['tableformatter'],
5757
keywords='table tabular formatter',
5858
python_requires='>=3.4',
5959
extras_require=EXTRAS_REQUIRE,
File renamed without changes.

0 commit comments

Comments
 (0)