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
c73b7e3 Merge pull request #212 from hugovk/setuptools-to-hatch
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
c73b7e3
Merge pull request #212 from hugovk/setuptools-to-hatchfabac93
Convert from setuptools to hatchling7ff98d0
Convert from setup.cfg to pyproject.toml1fb68dd
Merge pull request #211 from phershbe/masterd230f77
added py.typed and updated setup.cfgfc1a363
Merge pull request #210 from jazzband/all-repos_autofix_all-repos-sedd582f49
Replace 3.11-dev with 3.11409be53
Merge pull request #205 from phershbe/master11f0435
Removed import of List82b8917
Update src/prettytable/prettytable.pyDependabot 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)