Skip to main content

Format mbox as HTML/XML

Project description

formbox

This tiny script formats an mbox as HTML or XML. It is intended for rendering email replies on websites 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] mbox id template

format mbox as HTML/XML

positional arguments:
  mbox        path to mbox file
  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


Download files

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

Source Distribution

formbox-0.4.3.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

formbox-0.4.3-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file formbox-0.4.3.tar.gz.

File metadata

  • Download URL: formbox-0.4.3.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for formbox-0.4.3.tar.gz
Algorithm Hash digest
SHA256 2030b4f67075d98c8d2e5a5e6ae79c2e21777d294f442de82544dfb248090163
MD5 112f78c0aa42c872a3fc48c6047f1427
BLAKE2b-256 50bc9ed081510257de4be554b9d649a8b2a94700b97aa1592a202105176b4202

See more details on using hashes here.

File details

Details for the file formbox-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: formbox-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for formbox-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 263e64cb32141b3f457a3190e709ae794a74cf42faedcb5782e82a35ba82974d
MD5 e93ab843b2d1baf3927dcbe0a689e850
BLAKE2b-256 e1d53918a6cde1857405bf17b2bb38f6f941066003e705f04c139e6db8e6073b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page