Skip to main content

A reusable Django app for composing and queueing emails django-mailviews + Celery + others

Project description

Tests status Coverage status PyPI version Python versions Django versions Documentation status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-yubin-2.0.0b3.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

django_yubin-2.0.0b3-py2.py3-none-any.whl (44.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-yubin-2.0.0b3.tar.gz.

File metadata

  • Download URL: django-yubin-2.0.0b3.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for django-yubin-2.0.0b3.tar.gz
Algorithm Hash digest
SHA256 7113a7309dc16be26221c9218bb3e46a9436c8beda74b1ad3e677fad4b5296a9
MD5 4d966b8ddad732b8220bf51e931dfcad
BLAKE2b-256 8f4ba144da620df111bb0ca6c1cee2417f7fdec0e2474ab222f50533f83c8e59

See more details on using hashes here.

File details

Details for the file django_yubin-2.0.0b3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_yubin-2.0.0b3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 27540c9feadd9e67f39cc1ce63e3d107e7a253f29a6362a17e7a118682ba5977
MD5 82b7c51b8fd0c0c021e0db857a8e1724
BLAKE2b-256 73a633a6093d5fec2aa8172cf01303985f7e0099f618b2ef91356b075c7d39eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page