python-html2text - Python module for converting HTML to Markdown text

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-html2text
Package version 2016.1.8
Package release 1
Package architecture all
Package type deb
Installed size 84 B
Download size 18.20 KB
Official Mirror
html2text is a Python module that converts a page of HTML into clean,
easy-to-read plain ASCII text. Better yet, that ASCII also happens to be
valid Markdown (a text-to-HTML format).
This package contains the Python 2 version of the library, and a script,


Package Version Architecture Repository
python-html2text_2016.1.8-1_all.deb 2016.1.8 all Ubuntu Universe
python-html2text - - -


Name Value
python-pkg-resources -
python:any << 2.8
python:any >= 2.7.5-5~


Name Value
html2markdown << 3.200.3-3


Type URL
Binary Package python-html2text_2016.1.8-1_all.deb
Source Package python-html2text

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-html2text deb package:
    # sudo apt-get install python-html2text




2016-01-15 - Stefano Rivera <>
python-html2text (2016.1.8-1) unstable; urgency=medium
* New upstream release.
- Long links wrapping controlled by `--no-wrap-links` (Closes: #616090)
- Includes a --decode_errors option to customize decoding error behaviour
(LP: #1318227)
* Update manpage for new options.
* Use https in the watch file.
* Patch: python3.5 support
2015-07-04 - Stefano Rivera <>
python-html2text (2015.6.21-1) unstable; urgency=medium
* New upstream release. (Closes: #789178)
* Drop patches, superseded upstream.
* Update copyright.
* Update manpage.
* Add missing Breaks+Replaces on html2markdown.
* Switch watch file to
* Drop XS-Testsuite control header, now unnecessary.
* Add ADT smoke tests, that would have caught #789178.
2014-10-18 - Stefano Rivera <>
python-html2text (2014.9.25-1) unstable; urgency=low
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
[ Stefano Rivera ]
* New upstream release (Closes: #490715)
- New upstream maintainer.
* Update copyright.
* Switch watch file to use https.
* Drop html2markdown transitional package.
* Bump debhelper compat level to 9.
* Port to pybuild.
* Recommend python3-feedparser, which now exists.
* Update manpage, documenting new arguments.
* Bump Standards-Version to 3.9.6, no changes needed.
* Bump X-Python-Version to >= 2.4, 2.3 compatibility isn't claimed any more.
* Add autopkgtest suite, running the unit tests.
2012-05-15 - Stefano Rivera <>
python-html2text (3.200.3-2) unstable; urgency=low
* Add missing Depends on python{3,}-pkg-resources (Closes: #672901). Thanks
Jakub Wilk.
* Bumped Standards-Version to 3.9.3, no changes needed.
* Bumped machine readable copyright file to format 1.0.
2012-01-07 - Stefano Rivera <>
python-html2text (3.200.3-1) unstable; urgency=low
* New upstream release.
* Include README
2012-01-06 - Stefano Rivera <>
python-html2text (3.200.2-1) unstable; urgency=low
* New upstream release.
- Re-adds unescape(). (Closes: #654680)
* Bump debian/copyright years.
2012-01-04 - Stefano Rivera <>
python-html2text (3.200.1-1) unstable; urgency=low
* New upstream release.
- Upstream version numbers are no longer decimal, no need to mangle them.
- Take advantage of upstream's entry-point binaries.
- Update manpage for new options.
* debian/rules: set -x for loops.
* Move html2markdown to oldlibs/extra.
2011-11-12 - Stefano Rivera <>
python-html2text ( unstable; urgency=low
* New upstream release.
* Revert to pypi watch file, the missing upload was a mistake.
2011-04-17 - Stefano Rivera <>
python-html2text (3.0.2-1) unstable; urgency=low
* New upstream release.
- Drop all patches, accepted upstream.
* Move html2markdown back to Section web.
* Bump Standards-Version to 3.9.2, no changes needed.
* Drop Breaks: ${python:Breaks}, no longer used by dh_python2.
* Point watch file at github (upstream didn't upload this release to the
* Bump copyright years.
2011-02-27 - Stefano Rivera <>
python-html2text (3.0.1-2) unstable; urgency=low
* Install html2markdown symlink, replacing the html2markdown package.
(Closes: #614886)
- Conflicts html2markdown << 3.0.1-2.
- Add html2markdown transitional package.
- Add html2markdown.1 manpage.
- Manage html2markdown and html2markdown.1 via alternatives, allowing both
Python 2 and 3 packages to provide this command.
* optparse.patch: Use optparse for parsing arguments, which also provides
* utf-output.patch: Encode output in UTF-8.
* Recommend python-feedparser in Python 2 package (not available in Python 3

See Also

Package Description
python-htmlgen_2.2.2-12.3_all.deb Python library for the generation of HTML
python-htmltmpl_1.22-10.1_all.deb Templating engine for separation of code and HTML
python-htseq-doc_0.5.4p3-2_all.deb documetation for HTSeq (high-throughput genome sequencing)
python-htseq_0.5.4p3-2_amd64.deb high-throughput genome sequencing read analysis utilities
python-http-parser_0.8.3-2build2_amd64.deb http request/response parser
python-httpbin_0.4.0+dfsg-1_all.deb HTTP request and response service
python-httpretty_0.8.6-2_all.deb HTTP client mock - Python 2.x
python-humanize_0.5.1-2_all.deb Python Humanize library (Python 2)
python-hunspell_0.1-2build3_amd64.deb Python 2 binding for Hunspell
python-hurry.filesize_0.9-1_all.deb human readable file sizes or anything sized in bytes - Python 2.x
python-hurry.query_1.1.1-0ubuntu2_all.deb Higher level query system for the zope.catalog
python-hy_0.11.1-1_all.deb Lisp (s-expression) based frontend to Python
python-hyphy_2.2.6+dfsg-3build3_amd64.deb Hypothesis testing using Phylogenies (Python 2 module)
python-hypothesis_3.0.1-1_all.deb advanced Quickcheck style testing library for Python 2
python-iapws_1.1.1-2_all.deb Python implementation of the international APWS-IF97 steam tables