Skip to main content

Handle and sanitize HTML & text emails

Project description

1 mail-cleaner

Version:

1.1.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.1.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mail-cleaner-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e3783fbc137e8d30817804ea20455ee409929c04115f15beddf2c3d26b37da0b
MD5 26e9725d705433a1fd25552fb81037d8
BLAKE2b-256 81fe958983b8c18aa28e60c203e32929cb7c5c4d23993ac050e88d67aa61f62c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mail_cleaner-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47bf5db32e370611cd9c310a043fef185c567ae7d3bd2c3e9488ea499a4b44d8
MD5 63812cc3d0593bc91dcbc480fd3b3686
BLAKE2b-256 28a14239e0c3670415959c0863a54fe5f59b8b4d51064d984ac6096b0024ca50

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