Skip to main content

A library for converting HTML to plain text.

Project description

August - a html-to-text converter

August is an html to text converter specifically intended for producing text versions of HTML emails. The main code is all written in Rust, this packages is includes python bindings.

Getting Started

Install using PIP

$ pip3 install august

Then, import it and run convert

import august

html = '<p>I\'m <em>so</em> excited to try this</p>'
print(august.convert(html, width=20))

which prints

I'm /so/ excited to
try this


  • html2text: Coverts HTML into markdown, and supports a bazillion options. It's a great project if you want to produce markdown; but markdown, because it's designed to be turned into HTML, has a little more noise than is strictly necessary, and the header formatting is pretty unclear.
  • html-to-text: Converts HTML to text. Javascript/node project.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for august, version 2.4.0
Filename, size File type Python version Upload date Hashes
Filename, size august-2.4.0-cp35-cp35m-manylinux1_x86_64.whl (880.9 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size august-2.4.0-cp37-cp37m-manylinux1_x86_64.whl (880.9 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size august-2.4.0-cp38-cp38-manylinux1_x86_64.whl (880.9 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size august-2.4.0.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page