./textproc/py-prettytable, Display tabular data in a visually appealing ASCII table format

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.12.0, Package name: py312-prettytable-3.12.0, Maintainer: pkgsrc-users

PrettyTable is a simple Python library designed to make it quick and easy
to represent tabular data in visually appealing ASCII tables.

PrettyTable 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. You can control which subsets of the columns and rows are printed, and
you can sort the rows by the value of a particular column.


Required to run:
[devel/py-wcwidth] [lang/python310]

Master sites:

Filesize: 58.144 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-04 20:07:57 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-prettytable: updated to 3.12.0

3.12.0

Deprecated

Emit DeprecationWarnings for hrule and tableStyle constants

Added

Add new themes to ColorTable
Use SPDX license identifier
Lots of type annotations: @cdce8p
Add IntEnum for HRuleStyle and VRuleStyle
Add IntEnum for Table styles
Add OptionsType
Add attribute type hints
Add missing attribute annotations
Add type aliases for Align, VAlign, HeaderStyle
Add type annotations for attributes property
Improve TableHandler type annotations
Improve function type annotations
Improve row and column type annotations
Improve type annotations for field names
Include RowType in __all__
Small improvements
Generate __version__ at build to avoid slow importlib.metadata call
Release to PyPI using Trusted Publishing

Changed

Drop support for Python 3.8
Update new home to prettytable/prettytable

Fixed

Fix drawing headerless colored tables with title
Adjust format validation
   2024-08-13 09:15:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prettytable: updated to 3.11.0

3.11.0

Added

Attest build provenance of artifacts
Add field selection to CSV and JSON outputs
Add options to disable escaping HTML tables
   2024-07-17 05:44:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prettytable: updated to 3.10.2

3.10.2

Fix typo in README.md
Change how size of headers are calculated to fix ColorTable with title

3.10.1

Fix GitHub-Flavoured Markdown for narrow columns
Fix max table width calculation
   2024-02-21 13:23:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prettytable: updated to 3.10.0

3.10.0

Added

Add support for Python 3.13

Changed

Speedup: lazy imports and remove import
Use GitHub Flavored Markdown for table formatting
Use flake8-errmsg for friendlier tracebacks
Replace Flake8 with Ruff
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-09-27 17:11:18 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prettytable: updated to 3.9.0

Release 3.9.0

Security

Encode title and attributes of HTML tables
   2023-08-28 13:57:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-prettytable: updated to 3.8.0

3.8.0

Added

Add get_formatted_string() convenience function

Changed

Drop support for EOL Python 3.7
   2023-04-26 11:59:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-prettytable: updated to 3.7.0

Release 3.7.0

Added

Add horizontal lines to create sections within a table
Declare support for Python 3.12

Changed

Rename licence file for detection by GitHub
Rename master to main