NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #3600 most downloaded on PyPI
inscriptis - HTML to text converter.
Latest stable
2.7.6
Last release 1 months ago
23 Oct 2026
Release timing varies
gaps range from 8 days to 10 months
Most releases are documented
notes for 31 of 36 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
38 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
This release includes improvements to HTML fragment handling, fixes a memory growth issue when processing tables, and adds support for Python 3.15.
This release includes improvements to HTML fragment handling, fixes a memory growth issue when processing tables, and adds support for Python 3.15.
<table> elements. See GHSA-q87h-c5m7-659j for details.Many thanks to @gistrec for identifying and fixing the table-related memory growth issue, and to @OsamaAnsar for improving HTML fragment handling and reporting the Windows-related test issue.
Users of inscriptis 2.0.0–2.7.5 are encouraged to upgrade to benefit from the table-processing fix.
Fixes a denial-of-service issue where excessively large CSS length values in HTML style attributes could cause get_text() or get_annotated_text() to p
Fixes a denial-of-service issue where excessively large CSS length values in HTML style attributes could cause get_text() or get_annotated_text() to perform an unbounded string allocation (GHSA-4wxf-43cv-cfxx).
Thanks to @NotAFlightRisk for reporting this issue.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Integrate a bufix contributed by @jimbofreedman that fixes #121 (Annotations in vertically padded table cells are misplaced, or raise IndexError)
Table.get_annotation.TableCell class semantics.inscript CLI client and support custom user-agent strings via the --user-agent option.Integrated the following bugfixes contributed by @santhreal
python:3.14-slim in docker images.Removed upper bound on the Python version in accordance with the corresponding Python Packaging Guidelines (Fixes #112)
pyproject.toml.fixed dependencies to support python-lxml 6.0.x #102
Added support for the value attribute in enumerations (fixes #98)
Improved both the HTML and XML Annotation postprocessors.
XmlAnnotationProcessor now uses a mandatory root element to ensure that the create XML is valid.<content> root element, which contains all annotations.root_element parameter is provided to the annotation processor call.pytest as a build dependency.This is a maintenance release which fixes a regression in the package dependencies introduced in 2.5.1.
This is a maintenance release which fixes a regression in the package dependencies introduced in 2.5.1.
Nothing published for this version
added Python 3.13 to the build pipeline.
add working support for specifying custom html tags (fixes #81)
fix building documentation on readthedocs.org
added official Python 3.12 support
inscript.py to inscript and install client via pip--timeout argument.pip install inscriptis[web-service]pyproject.toml and poetry for package distributionMaintenance release adding Python 3.11 to the build pipeline.
Maintenance release adding Python 3.11 to the build pipeline.
This is a bugfix release correcting the handling of invalid length specifications (bug #63).
This is a bugfix release correcting the handling of invalid length specifications (bug #63).
fix: correctly handle HTML comments used to confuse HTML to text conversion (fixes #45).
support custom HTML tables separators (addresses #29).
improved documentation based on feedback provided by @reality, @rlskoeser and @sbenthall as part of the Journal of Open Source Software review process
export FLASK_APP="inscriptis.service.web"
python3 -m flask run
new: improved model for handling text blocks and lines
--annotation-rules option for annotation support.--post-processor option to export and visualize annotations (HTML, XML and surface form export)--encoding to Web URLs as wellIn terms of functionality, this release corresponds to Inscriptis 2.0rc2.
Please refer to https://github.com/weblyzard/inscriptis/releases/tag/2.0rc1 for a list of all new features. This release candidate fixes the following
Please refer to https://github.com/weblyzard/inscriptis/releases/tag/2.0rc1 for a list of all new features. This release candidate fixes the following issues in rc1:
new: new model for handling blocks and lines
HTML parsing:
Inscriptis core:
Inscript command line client:
--encoding to Web URLs as welltables: add support for vertical (valign, css: text-vertical-alginment) and horizontal (align) cell alignment (fixes: #33)
valign, css: text-vertical-alginment) and horizontal (align) cell alignment (fixes: #33)ignore top margins at the beginning of a document.
minor performance improvements and code optimizations
added support for rendering tags with the white-space: pre CSS attribute (e.g. which is often used for formatting code).
white-space: pre CSS attribute (e.g. <pre> which is often used for formatting code).ParserConfig object replaces the parameters display_images, dedpulicate_captions, display_links and indentation in get_text() and for initializing the Inscriptis class.
from lxml.html import fromstring
from inscriptis.model.config import ParserConfig
html_tree = fromstring(html)
# optional parser configuration fine tuning
config = ParserConfig(display_links=True, display_anchors=True)
parser = Inscriptis(html_tree, config)
text = parser.get_text()
--encoding not sets the HTML and output encoding--version optionversion callimproved performance and code structure.
./inscriptis/__init__.py for versioning and in setup.py.Use the extended indentation strategy per default as outlined in the README.md.
Use the extended indentation strategy per default as outlined in the README.md.
improved indentation, if span and div tags are used
Correctly handle nested tables and line breaks (e.g. due to enumerations, list or paragraph breaks) in tables.
Please take a look at the Rendering document for an overview of how Inscriptis renders different tables.
use requests for URL fetching (this addresses #17 and prevents 403 responses with some Web servers).
403 responses with some Web servers).correctly parse negative margins in CSS definitions.
This prevents encoding errors when using inscript.py for converting HTML pages to text.
This prevents encoding errors when using inscript.py for converting HTML pages to text.
optional flask web service for converting html to python
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.