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
3859de2 Merge pull request #193 from myheroyuki/paginate_line_break_options
d4867a2 Added new Act and Assert comments for new test
f75f6ad Add option to specify line break character used in pagination
27017ef Merge pull request #191 from jazzband/pre-commit-ci-update-config
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 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)
Updates the requirements on prettytable to permit the latest version.
Release notes
Sourced from prettytable's releases.
Changelog
Sourced from prettytable's changelog.
... (truncated)
Commits
3859de2
Merge pull request #193 from myheroyuki/paginate_line_break_optionsd4867a2
Added new Act and Assert comments for new testf75f6ad
Add option to specify line break character used in pagination27017ef
Merge pull request #191 from jazzband/pre-commit-ci-update-config4240048
[pre-commit.ci] pre-commit autoupdate8813d6c
Merge pull request #189 from jazzband/dependabot/github_actions/actions/setup...aeb1636
Merge branch 'master' into dependabot/github_actions/actions/setup-python-452da0c5
Merge pull request #190 from jazzband/dependabot/github_actions/pre-commit/ac...f00e880
Add python-version33d3b93
Merge pull request #188 from jazzband/dependabot/github_actions/mheap/github-...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 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)