Dropped support for EOL Python 2.4-2.6 and 3.0-3.4.
Added support for Python 3.5-3.9.
Added del_column(field_name).
Added get_csv_string with delimiter option (comma or tab) and optional header.
Use wcwidth for better wide char support.
New paginate method can be used to produce strings suitable for piping to lp/lpr.
from_html now handles HTML tables with colspan, rather than choking on them.
Added min_width, min_table_width and max_table_width attribute/options for
better control of table sizing.
Added "title" attribute/option for table titles.
When slice syntax is used to create a new sub-table out of an existing table, the rows
are sorted before, not after, the slicing. The old behaviour (slice then sort) can be
achieved by setting oldsortslice=True.
The from_csv table factory now accepts CSV format parameters as keyword arguments
(e.g. delimiter, doublequote, escapechar, etc.)
Added 0x000f to the list of special characters with width 0, to fix problems with
coloured strings produced by the Blessings library.
Fixed constructor argument float_format to work as intended.
Removed print_html() from README.
Added from_json and get_json_string to PrettyTable.
Fixed PLAIN_COLUMN to PLAIN_COLUMNS in README.
Added Markdown and Org mode styles.
PrettyTable 0.7 - Feb 17, 2013
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 an HTML table (thanks to
Christoph Robbert for submitting this patch!)
New valign attribute controls vertical alignment of text when some cells in a row
have multiple lines of text and others don't. (thanks to Google Code user maartendb
for submitting this patch!)
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 (thanks to Anthony Toole for
... (truncated)
Commits
cfd6b45 Encode title and attributes of HTML tables (#256)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps prettytable from 0.7.2 to 3.9.0.
Release notes
Sourced from prettytable's releases.
... (truncated)
Changelog
Sourced from prettytable's changelog.
... (truncated)
Commits
cfd6b45
Encode title and attributes of HTML tables (#256)f44a274
[pre-commit.ci] pre-commit autoupdate (#249)dac784a
Bump mheap/github-action-required-labels from 4 to 5 (#248)f0271f3
Drop support for EOL Python 3.7 (#245)54ccf40
Add get_formatted_string() convenience function (#241)03510e1
Update config (#236)ac0e361
[pre-commit.ci] pre-commit autoupdate (#234)db4a1e3
Add horizontal lines to create sections within a table (#185)c606326
Merge pull request #231 from hugovk/add-3.12d8c8df5
Declare support for Python 3.12Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show