Skip to content

v0.2.0 — CLI, robustness fixes, and CI

Choose a tag to compare

@Encephos Encephos released this 30 Jul 08:31

Added

  • New table2md CLI: file, URL, or stdin input (curl … | table2md works), with --format markdown|json|csv, --strategy, --dito-prefix, --table, --output, --no-links/--no-bold/--no-italic, and --parser.
  • Public API exports from the package root: from table2md import TableParser.
  • py.typed marker (PEP 561).
  • CI workflow: ruff + pytest on Python 3.9 and 3.12.
  • Test suite grown from 9 to 50 tests, including the 13 example cases as regression tests.

Fixed

  • Invalid colspan/rowspan values ("", "abc", "0", negative) no longer crash the parser or silently drop cell content.
  • rowspan is now capped at the last table row (matching browser behavior); huge values like rowspan="10000" no longer allocate unbounded grids.
  • HTML comments no longer leak into cell output.
  • README installation instructions now name the actual PyPI package (html-table-rescuer).

Full Changelog: v0.1.0...v0.2.0