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
Alternatives
- 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.
Metadata
Release files for august 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| august-2.4.0.tar.gz | 7.5 kB | Without provenance | Details for august-2.4.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| august-2.4.0-cp38-cp38-manylinux1_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.5+ x86-64 | Details for august-2.4.0-cp38-cp38-manylinux1_x86_64.whl |
| august-2.4.0-cp37-cp37m-manylinux1_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.5+ x86-64 | Details for august-2.4.0-cp37-cp37m-manylinux1_x86_64.whl |
| august-2.4.0-cp35-cp35m-manylinux1_x86_64.whl | CPython 3.5 | CPython 3.5 pymalloc | Linux glibc 2.5+ x86-64 | Details for august-2.4.0-cp35-cp35m-manylinux1_x86_64.whl |
Total release size: 2.7 MB
Release files / august-2.4.0.tar.gz
| Download URL | august-2.4.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4102947aa453e8825b627e031380489a8d4c1f804a956e68c6fabe89f4de3414
|
|
BLAKE2b-256 checksum How to use checksums |
8e7e46ae8400fad2846cd0c18d8a3eafbc20fadbe9adbbbbec0bb7c4a4eb24fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.8.1
|
Release files / august-2.4.0-cp38-cp38-manylinux1_x86_64.whl
| Download URL | august-2.4.0-cp38-cp38-manylinux1_x86_64.whl |
|---|---|
| Size | 880.9 kB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
0b4b8b2c7a20f1cf724ff45e5c0773f591f6fc9901bf240f8b28a5e16faa053c
|
|
BLAKE2b-256 checksum How to use checksums |
298e2fc8841f81112e7e3be6518f40f6481a0f93525026f5e7b3fbf485a1e480
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.8.1
|
Release files / august-2.4.0-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | august-2.4.0-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 880.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
8479a36eb55240de4c283bb2742a6af5435b9b7fca68ca4869b7746b5f1e3305
|
|
BLAKE2b-256 checksum How to use checksums |
c7625ab54c798b0ed703fd683e723c561c4ea959a41b4bc0572e3f83d17137ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.8.1
|
Release files / august-2.4.0-cp35-cp35m-manylinux1_x86_64.whl
| Download URL | august-2.4.0-cp35-cp35m-manylinux1_x86_64.whl |
|---|---|
| Size | 880.9 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
cfba5f9533d74ae2e0ac60d430b5c18b14cc12073a67a898c102b9855803547d
|
|
BLAKE2b-256 checksum How to use checksums |
99e9d6af512cab431b604ce6f44b530963d13ea363407ed0ee5f1aca092799b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.8.1
|
Security for august 2.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.