Skip to main content

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

Project description

CI-CD 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.2.tar.gz (52.3 kB view details)

Uploaded Source

Built Distribution

django_yubin-2.0.2-py2.py3-none-any.whl (45.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-yubin-2.0.2.tar.gz.

File metadata

  • Download URL: django-yubin-2.0.2.tar.gz
  • Upload date:
  • Size: 52.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for django-yubin-2.0.2.tar.gz
Algorithm Hash digest
SHA256 3bf5add0c4ee0619e6335e677623b9d4ffe0af7e0ab9e71bdc7305caf3f46fb5
MD5 ae6b933f4bc80ec532f47e99a9fa2da7
BLAKE2b-256 b88bd952f9bafa7d0b19734246be15031ae191fcc609142c4ed3de7a58006f82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_yubin-2.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6dfb834ffe5ba1e6be82a2ba32f153163de33adf00a22a9d644b5f7fb0b7d5b7
MD5 164e94e7c82b536753692d60cb3d748c
BLAKE2b-256 0bc2dfdc1e431c2b17b21afbb4924754b43d6fc707e0e514fe0305c9c1aaeb02

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