Difference between revisions of "Prettytable"
(update software name. Taken from its website and also the pypi package.) |
(sync categories with PrettyTable) |
||
Line 25: | Line 25: | ||
|License note=License: bsd | |License note=License: bsd | ||
}} | }} | ||
− | {{Software category}} | + | {{Software category |
+ | |Interface=library | ||
+ | |Programming-language=python | ||
+ | |Software-development=programming-language | ||
+ | |Use=software-development | ||
+ | }} | ||
{{EntryGNU | {{EntryGNU | ||
|Is GNU=No | |Is GNU=No |
Revision as of 17:18, 13 October 2023
PrettyTable
https://github.com/jazzband/prettytable
library to represent tabular data in visually appealing ASCII tables
PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables.
It 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.
It also lets you control many aspects of the table, like the width of the column padding, the alignment of text within columns, which characters are used to draw the table border, whether you even want a border, and much more.
It was inspired by the ASCII tables used in the PostgreSQL shell psql.
Download
https://github.com/jazzband/prettytable/archive/refs/tags/3.9.0.tar.gz
version 3.9.0 (stable)
VCS Checkout
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Denis 'GNUtoo' Carikli
Verified on
13 October 2023
Notes
pyproject.toml has the following licenses definitions:
[project] [...] license = {text = "BSD (3 clause)"} [...] classifiers = [ "License :: OSI Approved :: BSD License", [...] ] [...]
src/prettytable/prettytable.py has the following header:
#!/usr/bin/env python # # Copyright (c) 2009-2014, Luke Maurits <luke@maurits.id.au> # All rights reserved. # With contributions from: # * Chris Clark # * Klein Stephane # * John Filleau # * Vladimir Vrzić # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # * The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE.
The LICENSE file has the following content:
# Copyright (c) 2009-2014 Luke Maurits <luke@maurits.id.au> # All rights reserved. # With contributions from: # * Chris Clark # * Klein Stephane # * John Filleau # * Vladimir Vrzić # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # * The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE.
Beside that all the other files (including 3 other python files: tests/test_prettytable.py, tests/test_colortable.py and src/prettytable/colortable.py) lack licensing headers, but given what
is in pyproject.toml, they are under the BSD (3 clause) license.
Leaders and contributors
Contact(s) | Role |
---|---|
Luke Maurits | Maintainer |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Debian (Ref) | https://tracker.debian.org/pkg/prettytable | |
Python (Ref) | https://pypi.org/project/PrettyTable | |
Download | http://code.google.com/p/prettytable/ |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.