The NetBSD Project

CVS log for pkgsrc/textproc/py-prettytable/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-prettytable

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Jun 23 13:20:34 2026 UTC (4 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
py-prettytable: updated to 3.18.0

3.18.0

Added

Add support for Python 3.16
Support multiline headers
Support reStructuredText tables
Support int_format, float_format and custom_format for CSV
Add caption support for Markdown
Validate column-specific options when dict attrs are modified
Overwrite int/float formatter with custom_formatter
Document paginate()
Docs: add example of using custom_format
Improve type coverage of colortable

Changed

Improve wcwidth>=0.3.5 integration and performance
Replace re.split with str.split and remove re import
Speed up import time
Stop testing experimental Python 3.13t

Deprecated

Performance: deprecate and defer import of OptionsType
Performance: deprecate and defer import of TableHandler

Fixed

Expand tabs in cell values so columns stay aligned
Drop stale align/valign keys when field_names are renamed
Fix bleeding of wrapped colours into table edges
Fix horizontal_align_char getter
Allow different types for Cursor than only sqlite3.Cursor
Remove duplicate line
Document header_horizontal_char and remove a duplicate docstring line

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Nov 16 11:49:15 2025 UTC (11 months, 4 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
py-prettytable: updated to 3.17.0

3.17.0

Added

Add support for Python 3.15 (and test 3.13t-3.15t)
Set dicts with column-specific config for all column-specific attrs
Add missing type annotations for properties
Use type stubs for wcwidth

Changed

Drop support for Python 3.9
Simplify empty dictionary/None check
Replace pre-commit with prek

Fixed

In add_rows(), check length of array with len()
Fix README for sort_key
Fix filter example

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Apr 7 12:25:38 2025 UTC (19 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
py-prettytable: updated to 3.16.0

3.16.0

Added

Support OSC 8 hyperlinks

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Mar 12 09:31:38 2025 UTC (20 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
py-prettytable: updated to 3.15.1

3.15.1
Fix IndexError for add_rows() with an empty list
Fix typing: replace Iterable with indexable Sequence

3.15.0

Added

Add support for PyPy3.11
Add MediaWiki table support
Create divider with add_rows()
Add option to avoid break on hyphen in longer texts
Add row_filter option
Add option to truncate column headers to column width

Changed

Performance: remove unnecessary deepcopies and add some lru_caches
Defer type-checking and warnings imports
Remove unnecessary start=0 from range

Fixed

Use _str_block_width to calculate title width

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Feb 4 09:43:55 2025 UTC (21 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
py-prettytable: updated to 3.14.0

3.14.0

Added

Add add_divider() method to create sections

Fixed

Fix sortby at class declaration
Fix divider intersection for border styles
Add missing quote to deprecation warning

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Jan 25 11:40:15 2025 UTC (21 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
py-prettytable: updated to 3.13.0

3.13.0

Added

Use PEP 639 licence expression
Add support for Python 3.14
Add demo to __main__: python -m prettytable

Changed

Update Ruff: more f-strings and sort __all__

Fixed

Fix default styles not being reset between set_style() calls
Fix add_autoindex alignment for HTML
Consider column args when columns are set after initialization
Use TableStyle in README.md

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Nov 4 19:07:57 2024 UTC (2 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -4 lines
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

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Aug 13 07:15:31 2024 UTC (2 years, 3 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
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

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jul 17 03:44:21 2024 UTC (2 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2 lines
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

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Feb 21 12:23:44 2024 UTC (2 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -9 lines
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

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Oct 28 19:57:19 2023 UTC (3 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -1 lines
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.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Sep 27 15:11:18 2023 UTC (3 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
py-prettytable: updated to 3.9.0

Release 3.9.0

Security

Encode title and attributes of HTML tables

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Aug 28 11:57:32 2023 UTC (3 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
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

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Apr 26 09:59:27 2023 UTC (3 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
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

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Jan 17 10:07:19 2023 UTC (3 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2 lines
py-prettytable: updated to 3.6.0

3.6.0

Added

Updated pre-commit with mypy
Test Python 3.12 pre-releases

Fixed

Fix to min_table_width parameter
Widen tables with long titles

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Dec 29 12:49:08 2022 UTC (3 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -9 lines
py-prettytable: updated to 3.5.0

Release 3.5.0

Added

Add py.typed and update setup.cfg
Add type hints from typeshed

Changed

Convert from setuptools to hatchling

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Oct 31 22:06:26 2022 UTC (4 years ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -4 lines
py-prettytable: updated to 3.4.1

3.4.1
Fixed

Revert "Add header alignment attribute"


3.4.0
Added

Add option to specify line break character used in pagination
Add header alignment attribute

Fixed

None annotation for __init__ constructors/functions

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Jun 27 15:29:17 2022 UTC (4 years, 4 months ago) by fcambus
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
*: drop maintainership for packages not related to toolchains and ELF.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu May 5 21:02:17 2022 UTC (4 years, 6 months ago) by fcambus
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
py-prettytable: update to 3.3.0.

Added:

- Support Python 3.11
- Add flag to preserve internal borders when border=False

Fixed:

- Alignment timing fix

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Mar 7 12:21:09 2022 UTC (4 years, 8 months ago) by fcambus
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
py-prettytable: update to 3.2.0.

Added:

- Use concrete built-in exceptions instead of Exception base class

Fixed:

- Fix width for custom none_format
- Enforce max widths for field names

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Feb 16 20:19:02 2022 UTC (4 years, 8 months ago) by fcambus
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
py-prettytable: update to 3.1.1.

Fixed:

- Resolve "KeyError" issue on _stringify_row

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Feb 14 08:53:14 2022 UTC (4 years, 9 months ago) by adam
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -2 lines
py-prettytable: updated to 3.1.0

Release 3.1.0

Added

Add colorful tables and themes
Convert None to empty cell or custom value

Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jan 7 23:15:04 2022 UTC (4 years, 10 months ago) by fcambus
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -3 lines
py-prettytable: update to 3.0.0.

Removed:

- Drop support for EOL Python 3.6 (#152) @hugovk

Fixed:

- Use <caption> tags to print html table titles (#160) @daibhid

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:55:02 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Dec 30 19:52:11 2021 UTC (4 years, 10 months ago) by fcambus
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
py-prettytable: update 2.5.0.

Added:

- Add Single Border table style

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Nov 5 15:00:55 2021 UTC (5 years ago) by fcambus
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
py-prettytable: update 2.4.0.

Added:

- Markdown: Add colons to align the rendered output
- Add rows attribute to prettytable

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Nov 1 18:53:21 2021 UTC (5 years ago) by fcambus
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
py-prettytable: update 2.3.0.

Added:

- Add Jupyter repr and default interpreter repr methods
- Add custom format support
- Add method to generate LaTex formatted string

Changed:

- Remove unused options argument in _format_rows and _format_row

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Sep 27 20:12:06 2021 UTC (5 years, 1 month ago) by fcambus
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
py-prettytable: update 2.2.1.

Fixed:

Consider US G0 Character Set ANSI-escape code as 0-width (like colors)

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Sep 11 20:45:05 2021 UTC (5 years, 2 months ago) by fcambus
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
py-prettytable: update 2.2.0.

Added:

- Add support for Python 3.10
- Update issue templates
- Add support for positional junction characters and add "double_border"
  table style
- Access properties instead of protected fields in _get_options()
- Use declarative metadata and support PyPy3
- Add auto index column

Changed:

- Refactor for readability and avoid merge conflicts
- Remove exclamation marks from exceptions

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Jun 4 04:45:59 2021 UTC (5 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
py-prettytable: PYTHON_VERSIONS_INCOMPATIBLE should be before pyversion.mk

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu May 20 06:32:40 2021 UTC (5 years, 5 months ago) by nia
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
py-prettytable: add missing build dependency

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue May 4 09:27:03 2021 UTC (5 years, 6 months ago) by adam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +15 -4 lines
py-prettytable: updated to 2.1.0

Release 2.1.0

Added

Support formatting options in get_json_string()

Changed

Replace setuptools/pkg_resources with importlib.metadata for getting version

Fixed

Docs: Add documentation for align, max_width, etc.
Docs: Remove reference to Python 2.x print statement in README
Docs: Update get_html_string with thead and tbody tags

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 4 08:33:14 2021 UTC (5 years, 6 months ago) by fcambus
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -6 lines
textproc/py-prettytable: import py38-prettytable-2.0.0.

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.

Revision 1.9
Tue Sep 29 00:43:03 2020 UTC (6 years, 1 month ago) by khorben
Branches: MAIN
FILE REMOVED
Changes since revision 1.8: +1 -1 lines
py-prettytable: bring back to the attic

I did not realize there was already a fork of this package in the tree, and
then removal of this one. Sorry for the noise.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 29 00:38:45 2020 UTC (6 years, 1 month ago) by khorben
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -11 lines
py-prettytable: import version 0.7.2

A simple Python library for easily displaying tabular data in a visually
appealing ASCII table format.

Revision 1.7
Tue Oct 16 13:47:01 2018 UTC (8 years, 1 month ago) by adam
Branches: MAIN
FILE REMOVED
Changes since revision 1.6: +1 -1 lines
py-ptable: added version 0.9.2 (py-prettytable fork)

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

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Sep 4 18:55:10 2017 UTC (9 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Update some URLs.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 8 17:43:40 2016 UTC (10 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Switch to MASTER_SITES_PYPI.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Apr 17 21:11:31 2014 UTC (12 years, 7 months ago) by imil
Branches: MAIN
CVS tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1 lines
PKGREVISION bump, upstream has some useless 0600 files in its archive.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Apr 17 21:01:59 2014 UTC (12 years, 7 months ago) by imil
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Updated py-prettytable to version 0.7.2

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Nov 18 02:25:38 2012 UTC (14 years ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -3 lines
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Nov 11 21:35:17 2012 UTC (14 years ago) by jakllsch
Branches: MAIN
add py-prettytable 0.6.1

A simple Python library for easily displaying tabular data in a visually
appealing ASCII table format.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>