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
Built Distribution
File details
Details for the file sparkpost-async-0.2.tar.gz
.
File metadata
- Download URL: sparkpost-async-0.2.tar.gz
- Upload date:
- Size: 15.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b11210863d2c3224df683e970f11dead96a5f7763ef55a2ce211c369f74a09a4 |
|
MD5 | 96f827e379f00a9b16114fcc8a5218ea |
|
BLAKE2b-256 | 8bec528d0d55f356185c8b7df92e3ffb2e419babb77e4f2e6e8a6d683aa3d1d4 |
File details
Details for the file sparkpost_async-0.2-py3-none-any.whl
.
File metadata
- Download URL: sparkpost_async-0.2-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8459e5eec3bf5482e4d5d6eb34d178ae3191f5d4da818a5d03eb7cd2bd68c498 |
|
MD5 | 2395d99cc9ca6eacede0c6f4821db5f4 |
|
BLAKE2b-256 | bc3243fb341bd23ed8800512eb7ecf6f93749e56a5c267e872f4fcc350bad518 |