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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for sparkpost-async-0.2.tar.gz
Algorithm Hash digest
SHA256 b11210863d2c3224df683e970f11dead96a5f7763ef55a2ce211c369f74a09a4
MD5 96f827e379f00a9b16114fcc8a5218ea
BLAKE2b-256 8bec528d0d55f356185c8b7df92e3ffb2e419babb77e4f2e6e8a6d683aa3d1d4

See more details on using hashes here.

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

Hashes for sparkpost_async-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8459e5eec3bf5482e4d5d6eb34d178ae3191f5d4da818a5d03eb7cd2bd68c498
MD5 2395d99cc9ca6eacede0c6f4821db5f4
BLAKE2b-256 bc3243fb341bd23ed8800512eb7ecf6f93749e56a5c267e872f4fcc350bad518

See more details on using hashes here.

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