|
2 | 2 | terminaltables
|
3 | 3 | ==============
|
4 | 4 |
|
5 |
| -Easily draw tables in terminal/console applications from a list of lists of strings. Supports multi-line rows. |
6 |
| - |
7 |
| -* Python 2.6, 2.7, PyPy, PyPy3, 3.3, 3.4, and 3.5 supported on Linux and OS X. |
8 |
| -* Python 2.7, 3.3, 3.4, and 3.5 supported on Windows (both 32 and 64 bit versions of Python). |
9 |
| - |
10 |
| -📖 Full documentation: https://robpol86.github.io/terminaltables |
11 |
| - |
12 |
| -.. image:: https://img.shields.io/appveyor/ci/Robpol86/terminaltables/master.svg?style=flat-square&label=AppVeyor%20CI |
13 |
| - :target: https://ci.appveyor.com/project/Robpol86/terminaltables |
14 |
| - :alt: Build Status Windows |
15 |
| - |
16 |
| -.. image:: https://img.shields.io/travis/Robpol86/terminaltables/master.svg?style=flat-square&label=Travis%20CI |
17 |
| - :target: https://travis-ci.org/Robpol86/terminaltables |
18 |
| - :alt: Build Status |
19 |
| - |
20 |
| -.. image:: https://img.shields.io/codecov/c/github/Robpol86/terminaltables/master.svg?style=flat-square&label=Codecov |
21 |
| - :target: https://codecov.io/gh/Robpol86/terminaltables |
22 |
| - :alt: Coverage Status |
23 |
| - |
24 |
| -.. image:: https://img.shields.io/pypi/v/terminaltables.svg?style=flat-square&label=Latest |
25 |
| - :target: https://pypi.python.org/pypi/terminaltables |
26 |
| - :alt: Latest Version |
27 |
| - |
28 |
| -Quickstart |
29 |
| -========== |
30 |
| - |
31 |
| -Install: |
32 |
| - |
33 |
| -.. code:: bash |
34 |
| -
|
35 |
| - pip install terminaltables |
36 |
| -
|
37 |
| -Usage: |
38 |
| - |
39 |
| -.. code:: |
40 |
| -
|
41 |
| - from terminaltables import AsciiTable |
42 |
| - table_data = [ |
43 |
| - ['Heading1', 'Heading2'], |
44 |
| - ['row1 column1', 'row1 column2'], |
45 |
| - ['row2 column1', 'row2 column2'], |
46 |
| - ['row3 column1', 'row3 column2'] |
47 |
| - ] |
48 |
| - table = AsciiTable(table_data) |
49 |
| - print table.table |
50 |
| - +--------------+--------------+ |
51 |
| - | Heading1 | Heading2 | |
52 |
| - +--------------+--------------+ |
53 |
| - | row1 column1 | row1 column2 | |
54 |
| - | row2 column1 | row2 column2 | |
55 |
| - | row3 column1 | row3 column2 | |
56 |
| - +--------------+--------------+ |
57 |
| -
|
58 |
| -Example Implementations |
59 |
| -======================= |
60 |
| - |
61 |
| -.. image:: docs/examples.png?raw=true |
62 |
| - :alt: Example Scripts Screenshot |
63 |
| - |
64 |
| -Source code for examples: `example1.py <https://github.com/Robpol86/terminaltables/blob/master/example1.py>`_, |
65 |
| -`example2.py <https://github.com/Robpol86/terminaltables/blob/master/example2.py>`_, and |
66 |
| -`example3.py <https://github.com/Robpol86/terminaltables/blob/master/example3.py>`_ |
67 |
| - |
68 |
| -.. changelog-section-start |
69 |
| -
|
70 |
| -Changelog |
71 |
| -========= |
72 |
| - |
73 |
| -This project adheres to `Semantic Versioning <http://semver.org/>`_. |
74 |
| - |
75 |
| -3.1.0 - 2016-10-16 |
76 |
| ------------------- |
77 |
| - |
78 |
| -Added |
79 |
| - * ``git --porcelain``-like table by liiight: https://github.com/Robpol86/terminaltables/pull/31 |
80 |
| - |
81 |
| -3.0.0 - 2016-05-30 |
82 |
| ------------------- |
83 |
| - |
84 |
| -Added |
85 |
| - * Support for https://pypi.python.org/pypi/colorama |
86 |
| - * Support for https://pypi.python.org/pypi/termcolor |
87 |
| - * Support for RTL characters (Arabic and Hebrew). |
88 |
| - * Support for non-string items in ``table_data`` like integers. |
89 |
| - |
90 |
| -Changed |
91 |
| - * Refactored again, but this time entire project including tests. |
92 |
| - |
93 |
| -Removed |
94 |
| - * ``padded_table_data`` property and ``join_row()``. Moving away from repeated string joining/splitting. |
95 |
| - |
96 |
| -Fixed |
97 |
| - * ``set_terminal_title()`` Unicode handling on Windows. |
98 |
| - * https://github.com/Robpol86/terminaltables/issues/18 |
99 |
| - * https://github.com/Robpol86/terminaltables/issues/20 |
100 |
| - * https://github.com/Robpol86/terminaltables/issues/23 |
101 |
| - * https://github.com/Robpol86/terminaltables/issues/26 |
102 |
| - |
103 |
| -2.1.0 - 2015-11-02 |
104 |
| ------------------- |
105 |
| - |
106 |
| -Added |
107 |
| - * GitHub Flavored Markdown table by bcho: https://github.com/Robpol86/terminaltables/pull/12 |
108 |
| - * Python 3.5 support (Linux/OS X and Windows). |
109 |
| - |
110 |
| -2.0.0 - 2015-10-11 |
111 |
| ------------------- |
112 |
| - |
113 |
| -Changed |
114 |
| - * Refactored code. No new features. |
115 |
| - * Breaking changes: ``UnixTable``/``WindowsTable``/``WindowsTableDouble`` moved. Use ``SingleTable``/``DoubleTable`` |
116 |
| - instead. |
117 |
| - |
118 |
| -1.2.1 - 2015-09-03 |
119 |
| ------------------- |
120 |
| - |
121 |
| -Fixed |
122 |
| - * CJK character width fixed by zqqf16 and bcho: https://github.com/Robpol86/terminaltables/pull/9 |
123 |
| - |
124 |
| -1.2.0 - 2015-05-31 |
125 |
| ------------------- |
126 |
| - |
127 |
| -Added |
128 |
| - * Bottom row separator. |
129 |
| - |
130 |
| -1.1.1 - 2014-11-03 |
131 |
| ------------------- |
132 |
| - |
133 |
| -Fixed |
134 |
| - * Python 2.7 64-bit terminal width bug on Windows. |
135 |
| - |
136 |
| -1.1.0 - 2014-11-02 |
137 |
| ------------------- |
138 |
| - |
139 |
| -Added |
140 |
| - * Windows support. |
141 |
| - * Double-lined table. |
142 |
| - |
143 |
| -1.0.2 - 2014-09-18 |
144 |
| ------------------- |
145 |
| - |
146 |
| -Added |
147 |
| - * ``table_width`` and ``ok`` properties. |
148 |
| - |
149 |
| -1.0.1 - 2014-09-12 |
150 |
| ------------------- |
151 |
| - |
152 |
| -Added |
153 |
| - * Terminal width/height defaults for testing. |
154 |
| - * ``terminaltables.DEFAULT_TERMINAL_WIDTH`` |
155 |
| - * ``terminaltables.DEFAULT_TERMINAL_HEIGHT`` |
156 |
| - |
157 |
| -1.0.0 - 2014-09-11 |
158 |
| ------------------- |
159 |
| - |
160 |
| -* Initial release. |
161 |
| - |
162 |
| -.. changelog-section-end |
| 5 | +Project no longer maintained. New PyPI maintainer has a forked it here: |
| 6 | +https://github.com/matthewdeanmartin/terminaltables |
0 commit comments