Skip to main content

Django mails. Supercharged.

Project description

📨 Django mails. Supercharged.

PyPI - Version Test Status

Overview

django-nitro-mailer is a pluggable Django app that provides extra email reliability and observability in form of email backends that can be used with Django's built-in functions and other email backend.

django-nitro-mailer by itself does not provide a way to send emails, but it puts an extra layer before the email backend to provide extra features like:

  • priority queueing
  • retrying failed emails
  • logging and traces
  • email throttling
  • sending messages through the admin panel

Requirements

  • Python >= 3.11, < 3.14
  • Django >= 4.2, < 5.2

Installation

Install the package using pip:

$ pip install django-nitro-mailer

Usage

  1. Add django_nitro_mailer to your INSTALLED_APPS in your settings.py:
INSTALLED_APPS = [
    ...
    "django_nitro_mailer",
    ...
]
  1. Run python manage.py migrate to create the necessary tables.

  2. Change the EMAIL_BACKEND setting in your settings.py to use the desired backend:

  • Database Backend: Store emails in the database and send them asynchronously. Requires sending a cron job or some other scheduled task to send the emails.
EMAIL_BACKEND = "django_nitro_mailer.backends.DatabaseBackend"
  • Sync Backend: Send emails synchronously. Does not provide the reliability that the database backend provides, but still provides the logging and throttling features.
EMAIL_BACKEND = "django_nitro_mailer.backends.SyncBackend"

Documentation

Documentation is available here.

License

django-nitro-mailer is under the terms of the MIT License, following all clarifications stated in the license file.

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

django_nitro_mailer-0.1.4.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

django_nitro_mailer-0.1.4-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file django_nitro_mailer-0.1.4.tar.gz.

File metadata

  • Download URL: django_nitro_mailer-0.1.4.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_nitro_mailer-0.1.4.tar.gz
Algorithm Hash digest
SHA256 66bc129c89ca1d12400a5da7ca134cb3f71afb42ff4066480c33b1b48b8551c2
MD5 be1a175986738434ab144bb43d349b2e
BLAKE2b-256 275bd55fce006b4b344da06da96445fab5b3aa37d25d9e6b8530943a0ae4632b

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_nitro_mailer-0.1.4.tar.gz:

Publisher: pypi.yml on majikode/django-nitro-mailer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_nitro_mailer-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_nitro_mailer-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f8e957db6dcceceac0d7d9772546c3ed35112defc92d269a865545ced60051b5
MD5 63c60882388309acd4967e3aa720f930
BLAKE2b-256 faa6f7d3faa6478cacecc56224b6ca7d99a332171cdb00a9126bbf9991f1eb7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_nitro_mailer-0.1.4-py3-none-any.whl:

Publisher: pypi.yml on majikode/django-nitro-mailer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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