Skip to main content

Handle and sanitize HTML & text emails

Project description

1 mail-cleaner

Version:

1.2.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-1.2.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

mail_cleaner-1.2.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file mail-cleaner-1.2.0.tar.gz.

File metadata

  • Download URL: mail-cleaner-1.2.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for mail-cleaner-1.2.0.tar.gz
Algorithm Hash digest
SHA256 81124671c896232bfc53614e935e38dfc4348b8b015fde5b42205798df8695b8
MD5 96a9e750e6afd7759d5b968fe579c719
BLAKE2b-256 d1b2dfc6ff4c38d753bf9756c7770b3d78479a42c02bae2a3453fef23962d871

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mail_cleaner-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b0ac663ebd143ffc4a90021e9f0371b60579f6f00c450c3693cea2d0f302d33
MD5 1dda554633f0b3f6b0abc56bb5364e7f
BLAKE2b-256 8f12d0288832b1e6afa505e489d7dd98b71e513265019ea2cd98df6b614d58b5

See more details on using hashes here.

Supported by

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