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 a
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 pointing out this bug and providing a patch).
Fixed a simple bug regarding initialisation of int_format value
for new tables (thanks to Ingo Schmiegel for pointing out this
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps prettytable from 0.7.2 to 1.0.0.
Changelog
Sourced from prettytable's changelog.
Commits
3f226d4
Username jazzband for Jazzband deploys25d95f5
Update step name02e7bdd
Deploy to Jazzband package index from GHA28592c0
Update deploy key.5994373
Merge pull request #60 from hugovk/update-changelog834292a
Merge pull request #59 from hugovk/only-run-deploy-on-tags96ea3ac
Add release checklistc703473
Put <table> (and a load more) in code formatting to fix broken MD renderingda1e437
Update CHANGELOG.mdd65f0d5
Only run deploy stage for tagsDependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)