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
-
Install sparkpost-async via pip:
pip install sparkpost-async
-
Add
sparkpost_async
to yourINSTALLED_APPS
in your project settings.py file:
INSTALLED_APPS = [
'...',
'sparkpost_async',
]
-
Set the
EMAIL_BACKEND
setting in settings.py:EMAIL_BACKEND = 'sparkpost_async.email_backend.AsyncSparkPostEmailBackend'
-
Make sure all other settings required by
python-sparkpost
are set. See the python-sparkpost docs for more info. -
Also make sure that
dramatiq
anddjango_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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for sparkpost_async-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8459e5eec3bf5482e4d5d6eb34d178ae3191f5d4da818a5d03eb7cd2bd68c498 |
|
MD5 | 2395d99cc9ca6eacede0c6f4821db5f4 |
|
BLAKE2b-256 | bc3243fb341bd23ed8800512eb7ecf6f93749e56a5c267e872f4fcc350bad518 |