A reusable Django app for composing and queueing emails django-mailviews + Celery + others
Project description
Django Yubin allows you to create, send and manage emails in your Django projects. It follows the 12-factors app methodology.
Yubin means postal service in Japanese. Thanks @morenosan for the name.
How it works
For creating and composing emails, Yubin provides class-based views that use standard Django templates.
For sending and queuing emails, Yubin replaces the standard Django Email Backend with its own. Instead of sending emails synchronously trough a SMTP server, Yubin saves emails in your database (and optionally in a file storage) and sends them asynchronously using the Celery distributed task queue.
Advantages
Create and compose emails reusing your code easily with class-based views.
Your app can respond requests faster because other process/worker is managing the connection with the SMTP server for sending emails.
Scale out easily adding more Celery workers.
Emails are saved in the database, you can see, manage and enqueue them from the Django Admin.
Optionally you can save only minimum data in the database and full emails in a different storage.
Yubin provides settings to avoid sending emails during development.
You can read the full documentation at http://django-yubin.readthedocs.org/
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 django_yubin-2.0.5.tar.gz
.
File metadata
- Download URL: django_yubin-2.0.5.tar.gz
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be9bfb7b7fa2969edef3e7833d0357f8cbf6941a6c9ec71d32fa81077e0031ac |
|
MD5 | d51db8d34e478eff4196869116ba59a3 |
|
BLAKE2b-256 | ad5e821835a9e72cf5b619b18cbd836e13d47160a85601b5b78f2080a3d7d065 |
File details
Details for the file django_yubin-2.0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: django_yubin-2.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 45.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cb40b9a9b0becd00c9ef2d3f47b97e46763566ee48255187e696b83653a5c28 |
|
MD5 | c3145cbddb9beb80f5ff4a95aad70526 |
|
BLAKE2b-256 | 6c5449a551cc32f9c92ed7c9fda95fe6b59ff6e1be23bc7bebdb4426291fbbcc |