Skip to main content

1 mail-cleaner

Version:

2.0.0

Source:

https://github.com/maykinmedia/mail-cleaner

Keywords:

django, email, sanitize

PythonVersion:

3.9

Build status Code quality checks black Coverage status Documentation Status

python-versions django-versions pypi-version

Handle and sanitize HTML & text emails

2 Features

  • Sanitize untrusted links

  • Best-effort plain-text message extraction from HTML e-mails

3 Installation

3.1 Install

pip install mail-cleaner

4 Usage

See the usage documentation.

5 Local development

To install and develop the library locally, use:

pip install --no-build-isolation -e .[tests,coverage,docs,pep8,release]

Release files for mail-cleaner 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mail-cleaner 2.0.0
File Size Uploaded
mail_cleaner-2.0.0.tar.gz 11.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mail-cleaner 2.0.0
File Interpreter ABI Platform
mail_cleaner-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.9 kB

Release files / mail_cleaner-2.0.0.tar.gz

Download URL mail_cleaner-2.0.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
84f32e1272a3fa5ab7cba92446432916f14480983338eb9f33c0ac06252bbb92
BLAKE2b-256 checksum
How to use checksums
ed0194700ee5c93ed70ea9cdf76fdfdb4adaea4667f85688fbe209365a956de9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / mail_cleaner-2.0.0-py3-none-any.whl

Download URL mail_cleaner-2.0.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45a208d042476eec41517108d255c546eccb0a10a7bc2256aeaf876c37507a42
BLAKE2b-256 checksum
How to use checksums
8d7ad618ed0142c6ccc53b7d415d838dc9b15503ac1ae26dd65740c9a48bf722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page