--- id: html-table-parser-python3 version: "0.3.1" license: AGPL-3.0-or-later license_treatment: agpl maintenance: abandoned --- # html-table-parser-python3 — A small and simple HTML table parser not requiring any external dependency. License: agpl · Maintenance: abandoned · Downloads: 78.6K/mo ## What it is and what it does html-table-parser-python3 is a lightweight HTML table parser that requires only Python's standard library. It extracts tables from HTML markup and returns them as nested lists—tables contain rows, rows contain cells as strings—with all HTML tags stripped and text content joined. The package includes both a programmatic API and a command-line tool for converting HTML tables to CSV. The parser is intentionally minimal; the author notes that copying the single class from parse.py into your own code is a viable alternative to installing the package. It supports Python 3.4 through 3.11 and has no external dependencies, making it suitable for simple table extraction tasks where you want to avoid heavyweight parsing libraries. Use it for: - Extract tabular data from archived or static HTML pages for data analysis or migration - Convert HTML tables to CSV format using the included command-line tool - Parse tables from web scraping tasks when you want to avoid external dependencies - Quick prototyping of table extraction logic without adding library dependencies to your project ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Parses HTML tables into nested lists of rows and cells without requiring external dependencies, stripping tags and extracting text content. Yes, if you need simple HTML table extraction without external dependencies and can accept an abandoned codebase. The package is stable and works on current Python versions, but it will not receive updates. Consider copying the class directly into your code if you want to avoid a dependency on an unmaintained package. The AGPL-3.0-or-later license requires careful review for proprietary use. ## Install pip install html-table-parser-python3 uv add html-table-parser-python3 poetry add html-table-parser-python3 ## Installing html-table-parser-python3 Before you install: Low install friction with no runtime dependencies. However, the package is abandoned—last commit was 2022-12-12 and no updates have been released since the latest release on 2022-12-06. It remains functional for current Python versions but will not receive bug fixes or security updates. License in practice: Licensed under AGPL-3.0-or-later, which requires derivative works and modifications to be released under the same license and made available to users. This is a strong copyleft license; using it in proprietary software requires careful licensing review. Quickstart: from html_table_parser import TableHTMLParser parser = TableHTMLParser() parser.feed(html_string) tables = parser.tables Verify before relying: - Whether the package handles malformed or edge-case HTML robustly given its abandoned status - Performance characteristics on large HTML documents or tables with many rows ## Package facts - License: AGPL-3.0-or-later (agpl) - Python support: supports_current - Install friction: low - Maintenance: abandoned - Downloads: 78.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags parse HTML tables, extract table data from HTML, HTML table to list, simple HTML parsing, table scraping no dependencies, html-parsing, no-dependencies, abandoned [View on SkillFed](https://skillfed.io/packages/html-table-parser-python3) · [View on PyPI](https://pypi.org/project/html-table-parser-python3/)