Skip to main content

Handle and sanitize HTML & text emails

Project description

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

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]

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

mail_cleaner-2.0.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mail_cleaner-2.0.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file mail_cleaner-2.0.0.tar.gz.

File metadata

  • Download URL: mail_cleaner-2.0.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mail_cleaner-2.0.0.tar.gz
Algorithm Hash digest
SHA256 84f32e1272a3fa5ab7cba92446432916f14480983338eb9f33c0ac06252bbb92
MD5 a3abcba38a953bf5b7b48e560b175360
BLAKE2b-256 ed0194700ee5c93ed70ea9cdf76fdfdb4adaea4667f85688fbe209365a956de9

See more details on using hashes here.

File details

Details for the file mail_cleaner-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: mail_cleaner-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mail_cleaner-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45a208d042476eec41517108d255c546eccb0a10a7bc2256aeaf876c37507a42
MD5 bfef112e73c0a31d8721dbad64854fbc
BLAKE2b-256 8d7ad618ed0142c6ccc53b7d415d838dc9b15503ac1ae26dd65740c9a48bf722

See more details on using hashes here.

Supported by

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