Skip to main content

An asynchronous SparkPost email backend for Django.

Project description

python-sparkpost-async

An asynchronous SparkPost email backend for Django; currently only supports Dramatiq (not Celery).

Quickstart

  1. Install sparkpost-async via pip:

    pip install sparkpost-async
    
  2. Add sparkpost_async to your INSTALLED_APPS in your project settings.py file:

INSTALLED_APPS = [
    '...',
    'sparkpost_async',
]
  1. Set the EMAIL_BACKEND setting in settings.py:

    EMAIL_BACKEND = 'sparkpost_async.email_backend.AsyncSparkPostEmailBackend'
    
  2. Make sure all other settings required by python-sparkpost are set. See the python-sparkpost docs for more info.

  3. Also make sure that dramatiq and django_dramatiq are properly configured.

Compatibility

  • Compatible with Python 3.8 and above.
  • Compatible with Django 3.2 and above.

Versioning

This project follows semantic versioning (SemVer).

License and code of conduct

Check the root of the repo for these files.

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

sparkpost-async-0.2.tar.gz (15.6 kB view hashes)

Uploaded Source

Built Distribution

sparkpost_async-0.2-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

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