python2-PrettyTable - Library for displaying tabular data in formatted fashion

Property Value
Distribution openSUSE Leap 15.0
Repository openSUSE Oss all
Package name python2-PrettyTable
Package version 0.7.2
Package release lp150.2.5
Package architecture noarch
Package type rpm
Installed size 179.24 KB
Download size 41.35 KB
Official Mirror
PrettyTable is a Python library for representing tabular data in
ASCII tables, inspired by the tables emitted by the PostgreSQL shell,
psql. PrettyTable allows for selection of which columns are to be
printed, independent alignment of columns (left or right justified or
centred) and printing of "sub-tables" by specifying a row range.


Package Version Architecture Repository
python2-PrettyTable - - -


Name Value
python(abi) = 2.7


Name Value
python-PrettyTable = 0.7.2-lp150.2.5
python-prettytable = 0.7.2
python2-PrettyTable = 0.7.2-lp150.2.5


Name Value
python-PrettyTable < 0.7.2-lp150.2.5
python-prettytable < 0.7.2


Type URL
Binary Package python2-PrettyTable-0.7.2-lp150.2.5.noarch.rpm
Source Package python-PrettyTable-0.7.2-lp150.2.5.src.rpm

Install Howto

Install python2-PrettyTable rpm package:

# zypper install python2-PrettyTable




2017-09-05 -
- Make description neutral.
2017-09-01 -
- activate tests
- remove shebang from
- run spec-cleaner
2017-08-23 -
- convert to singlespec
2013-10-24 -
- Require python-setuptools instead of distribute (upstreams merged)
2013-04-26 -
- Run testsuite
2013-02-22 -
- Use upstream URL and fix copyright
2013-02-18 -
- Update to version 0.7:
+ Improved Python 2 and 3 compatibility (2.4-3.2).
+ Improved support for non-Latin characters.  Table widths should
now be calculated correctly for tables with e.g. Japanese text.
+ Table contents can now be read in from a .csv file
+ Table contents can now be read in from a DB-API compatible cursor
+ Table contents can now be read in from a string containing a
HTML table
+ new valign attribute controls vertical alignment of text when
some cells in a row have multiple lines of text and others don't.
+ hrules attribute can now be set to HEADER, which draws a rule only
under the header row
+ new vrules attribute controls drawing of vertical rules and can
be set to FRAME, ALL or NONE
+ new header_style attribute controls formatting of text in table
headers and can be set to "cap", "title", "upper", "lower" or None
+ Fixed a simple bug regarding validation of max_width
+ Fixed a simple bug regarding initialisation of int_format value
for new tables
+ Fixed a bug regarding some constructor keywords, such as "border",
being ignored
2012-07-26 -
- Update to version 0.6.1:
+ Unicode encoding scheme can now be set by user
+ __str__ now uses user-specified encoding instead of ASCII.  This
fixes a bug where tables with non-ASCII characters would print
correctly with "print x.get_string()" but not "print x" in 2.x
(thanks to Google Code user kevincobain2000 for reporting this
+ Fixed an incompatibility with 3.0 and 3.1 (html.escape was new
in 3.2)
- Changes from version 0.6.0:
+ Code is now simultaneously compatible with Python 2 and 3
+ Replaced all setter methods with managed attributes
+ All styling options can now be set persistently as managed attributes
+ Added "add_style" method to make setting style options easily
+ Added "del_row", "clear_rows" and "clear" methods to facilitate
removal of data from table.
+ Added "copy" method to facilitate cloning of a table.
+ Removed caching functionality, which added complexity and fragility
for relatively little gain
+ Removed methods that just printed strings produced by get_string and
get_html_string - just use inbuilt print!
+ Improved unicode support
+ Added support for decimal and floating point number formatting
+ Added support for using a custom key sorting methods
+ Added support for line breaks in data
+ Added support for max column widths
+ Fixed table slicing
+ Fixed bug where closing <tr/> tags in HTML tables were not printed
+ Fixed HTML table sorting bug
+ Fixed bug whereby changing field_names did not recompute widths
2011-11-30 -
- license update: BSD-2-Clause
2011-11-29 -
- Make it a noarch package
- %py_requires needed for SLE

See Also

Package Description
python2-PyAudio-0.2.11-lp150.1.4.x86_64.rpm Python Bindings for PortAudio v19
python2-PyAutoGUI-0.9.36-lp150.1.1.noarch.rpm A Python module for GUI automation that can control the keyboard and mouse
python2-PyDispatcher-2.0.5-lp150.1.3.noarch.rpm Multi-producer-multi-consumer signal dispatching mechanism
python2-PyGithub-1.35-lp150.1.3.noarch.rpm Use the full Github API v3
python2-PyICU-2.0.2-lp150.1.3.x86_64.rpm Python Extension Wrapping the ICU C++ API
python2-PyJWT-1.5.3-lp150.1.5.noarch.rpm JSON Web Token implementation in Python
python2-PyMsgBox-1.0.6-lp150.2.1.noarch.rpm A Python module for JavaScript-like message boxes
python2-PyMySQL-0.7.11-lp150.1.4.noarch.rpm Pure Python MySQL Driver
python2-PyNaCl-1.2.1-lp150.1.3.x86_64.rpm Python binding to the Networking and Cryptography (NaCl) library
python2-PyPDF2-1.26.0-lp150.2.1.noarch.rpm PDF toolkit
python2-PyPrind-2.11.1-lp150.1.3.noarch.rpm Python progress bar and percent indicator utility
python2-PySDL2-0.9.6-lp150.1.1.noarch.rpm Python SDL2 bindings
python2-PyScreeze-0.1.14-lp150.2.1.noarch.rpm A screenshot Python module
python2-PySocks-1.6.8-lp150.1.3.noarch.rpm A Python SOCKS client module
python2-PyTweening-1.0.3-lp150.1.1.noarch.rpm A collection of tweening / easing functions