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.
Release files for formbox 1.0.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 | |
|---|---|---|---|
| formbox-1.0.0.tar.gz | 14.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| formbox-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.5 kB
Release files / formbox-1.0.0.tar.gz
| Download URL | formbox-1.0.0.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3de62a31ce4a7e8594f40a2609b2952b7539e782939d08d74d16fc137c60e7a1
|
|
BLAKE2b-256 checksum How to use checksums |
d4a967a41895f167c6363545113f2aa47b040897f844d9e93b6cca2619b7818b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / formbox-1.0.0-py3-none-any.whl
| Download URL | formbox-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
449f7e87c93d697c6fd0c8f9b02ec7554d38f0d7cfab8b006d797a8e1daae4a6
|
|
BLAKE2b-256 checksum How to use checksums |
1ee7dc980c4be8f6a039a13f2e9c148eabf551d53f2726c9ed99201ea768ba8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|