Format mbox as HTML/XML
Project description
formbox
This tiny script formats an mbox file or a [maildir] as HTML or XML. It is intended for rendering email replies on web sites and their RSS feed.
Prerequisites
This Python package depends on nh3 for HTML sanitization and mistune for rendering Markdown to HTML. It is, however, not designed to work with HTML emails with all those CSS and Java scripts.
Installation
It is recommended to install this package from a downstream repository, such as nixpkgs.
Usage
$ formbox --help
usage: formbox [-h] mailbox id template
format mailbox as HTML/XML
positional arguments:
mailbox path to mbox file of maildir
id root message ID
template path to template
optional arguments:
-h, --help show this help message and exit
Copying
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file formbox-1.0.0.tar.gz
.
File metadata
- Download URL: formbox-1.0.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3de62a31ce4a7e8594f40a2609b2952b7539e782939d08d74d16fc137c60e7a1 |
|
MD5 | 7961f58b8b5c81f9c521c1f58887fea8 |
|
BLAKE2b-256 | d4a967a41895f167c6363545113f2aa47b040897f844d9e93b6cca2619b7818b |
File details
Details for the file formbox-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: formbox-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 449f7e87c93d697c6fd0c8f9b02ec7554d38f0d7cfab8b006d797a8e1daae4a6 |
|
MD5 | a10d93b1adca48a911655b17008bf432 |
|
BLAKE2b-256 | 1ee7dc980c4be8f6a039a13f2e9c148eabf551d53f2726c9ed99201ea768ba8a |