Metadata-Version: 2.1
Name: sparkpost-async
Version: 0.2
Summary: An asynchronous SparkPost email backend for Django.
Home-page: https://github.com/armandtvz/python-sparkpost-async
Author: Armandt van Zyl
Author-email: armandtvz@gmail.com
License: GPL-3.0
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# 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
   ```

1. Add `sparkpost_async` to your `INSTALLED_APPS` in your project settings.py file:
  ```python
  INSTALLED_APPS = [
      '...',
      'sparkpost_async',
  ]
  ```

1. Set the `EMAIL_BACKEND` setting in settings.py:
   ```python
   EMAIL_BACKEND = 'sparkpost_async.email_backend.AsyncSparkPostEmailBackend'
   ```

1. Make sure all other settings required by `python-sparkpost` are set.
   See the [python-sparkpost docs][1] for more info.

1. 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][200] (SemVer).


## License and code of conduct
Check the root of the repo for these files.








[//]: # (Links)

[1]: https://github.com/SparkPost/python-sparkpost
[200]: https://semver.org/


