<commit_before>======
django-templated-mail
======

.. image:: https://img.shields.io/pypi/v/django-templated-mail.svg
  :target: https://pypi.org/project/django-templated-mail

.. image:: https://img.shields.io/travis/sunscrapers/django-templated-mail.svg
  :target: https://travis-ci.org/sunscrapers/django-templated-mail

.. image:: https://img.shields.io/codecov/c/github/sunscrapers/django-templated-mail.svg
  :target: https://codecov.io/gh/sunscrapers/django-templated-mail

.. image:: https://img.shields.io/scrutinizer/g/sunscrapers/django-templated-mail.svg
  :target: https://scrutinizer-ci.com/g/sunscrapers/django-templated-mail

A simple wrapper for ``django.core.mail.EmailMultiAlternatives`` which makes
use of Django template system to store email content in separate file.

Developed by `SUNSCRAPERS <http://sunscrapers.com/>`_ with passion & patience.

Installation
=============

Simply install using ``pip``:

.. code-block:: bash

    $ pip install django-templated-mail

And add ``'templated_mail'`` to your ``INSTALLED_APPS``:

.. code-block:: python

    INSTALLED_APPS = [
    ...
        'templated_mail',
    ...
    ]

Documentation
=============
<commit_msg>Fix underline/overline lengths in README<commit_after>=====================
django-templated-mail
=====================

.. image:: https://img.shields.io/pypi/v/django-templated-mail.svg
  :target: https://pypi.org/project/django-templated-mail

.. image:: https://img.shields.io/travis/sunscrapers/django-templated-mail.svg
  :target: https://travis-ci.org/sunscrapers/django-templated-mail

.. image:: https://img.shields.io/codecov/c/github/sunscrapers/django-templated-mail.svg
  :target: https://codecov.io/gh/sunscrapers/django-templated-mail

.. image:: https://img.shields.io/scrutinizer/g/sunscrapers/django-templated-mail.svg
  :target: https://scrutinizer-ci.com/g/sunscrapers/django-templated-mail

A simple wrapper for ``django.core.mail.EmailMultiAlternatives`` which makes
use of Django template system to store email content in separate file.

Developed by `SUNSCRAPERS <http://sunscrapers.com/>`_ with passion & patience.

Installation
============

Simply install using ``pip``:

.. code-block:: bash

    $ pip install django-templated-mail

And add ``'templated_mail'`` to your ``INSTALLED_APPS``:

.. code-block:: python

    INSTALLED_APPS = [
    ...
        'templated_mail',
    ...
    ]

Documentation
=============

{'fraction_non_alphanumeric': 0.18503289473684212, 'fraction_numerical': 0.0, 'mean_word_length': 4.026859504132231, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7163215', 'n_tokens_mistral': 880, 'n_tokens_neox': 840, 'n_words': 134}