entirius-django-communicator
A Django module for channel-agnostic communication in Entirius, the open-source modular ecommerce platform. It drafts messages from versioned templates, puts them through review, sends them under a per-channel policy and reads the replies.
What it does
- Renders messages from templates with versions, as static text or as an AI draft.
- Holds drafts for review: accept, rewrite, edit or skip before anything is sent.
- Sends under a per-channel policy:
dry_run,sandboxorlivemode, send windows, holidays and a daily cap. - Schedules follow-up sequences and stops them on a reply or an opt-out.
- Polls IMAP mailboxes and turns inbound mail into replies, bounces, opt-outs and suppressions.
- Exposes an admin API (JWT, Pydantic schemas, OpenAPI) for the CMS.
Installation
uv add entirius-django-communicator
pip install entirius-django-communicator
Optional extra: entirius-django-communicator[notifications] (AI toolbox failures raise a notification
through entirius-django-notifications).
INSTALLED_APPS = [
# ...
"django_utils",
"django_regional",
"django_email",
"django_communicator",
]
# main/urls.py
urlpatterns.append(path("", include("django_communicator.urls")))
The module needs Redis (COMMUNICATOR_REDIS_URL or REDIS_URL), a celery-once backend and Celery workers
consuming the queues communicator_default, communicator_send and communicator_inbound. The
COMMUNICATOR_* settings, the beat entries and the bootstrap order: docs/install.md —
https://github.com/entirius/entirius-django-communicator/blob/develop/docs/install.md
Quick start
# main/urls.py
from django.urls import include, path
urlpatterns.append(path("", include("django_communicator.urls")))
The admin API is then mounted under api/communicator/v2/admin/<channel_idx>/. Settings, queues, beat and
bootstrap order: docs/install.md. Other modules create messages through
django_communicator.services.communicate_service.communicate; its contract is in
https://github.com/entirius/entirius-django-communicator/blob/develop/docs/concept.md
Requirements
- Python 3.11 or newer, Django 4.2 or newer.
- PostgreSQL and Redis.
- Celery workers consuming
communicator_default,communicator_sendandcommunicator_inbound, and Celery beat. - An AI toolbox service (the
AI_TOOLBOX_*settings ofentirius-django-utils) for AI drafts and rewrites. - Entirius packages pulled in:
entirius-django-utils,entirius-django-regional,entirius-django-email,entirius-py-idx-normalizator.
Documentation
- Module docs: https://github.com/entirius/entirius-django-communicator/tree/develop/docs
- Entirius documentation: https://docs.entirius.com/
- Changelog: https://github.com/entirius/entirius-django-communicator/blob/develop/CHANGELOG.md
Part of Entirius
This module runs inside the Entirius backend service (Volkanos); the leads module drafts its outreach through it.
- Backend service: https://github.com/entirius/entirius-service-volkanos
- Docker harness: https://github.com/entirius/entirius-zeno
- Sibling modules: https://github.com/entirius/entirius-django-leads, https://github.com/entirius/entirius-django-notifications, https://github.com/entirius/entirius-django-email
Development
make install # sync dependencies (uv, incl. extras)
make check # lint + format check (ruff)
make test # test suite (pytest; PostgreSQL through DATABASE_URL)
Development and agent instructions: https://github.com/entirius/entirius-django-communicator/blob/develop/AGENTS.md
License
Mozilla Public License 2.0 (MPL-2.0) — see https://github.com/entirius/entirius-django-communicator/blob/develop/LICENSE.
Metadata
Release files for entirius-django-communicator 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| entirius_django_communicator-0.5.1.tar.gz | 387.7 kB | Without provenance | Details for entirius_django_communicator-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| entirius_django_communicator-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for entirius_django_communicator-0.5.1-py3-none-any.whl |
Total release size: 626.2 kB
Release files / entirius_django_communicator-0.5.1.tar.gz
| Download URL | entirius_django_communicator-0.5.1.tar.gz |
|---|---|
| Size | 387.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
696d2f93bca20222061a48c0b723790424598c1fb6c2e0e1f92a9a87581973b9
|
|
BLAKE2b-256 checksum How to use checksums |
9376d8e191dd0a9c014384360d81b0a213ebaa91057c5f34390998797f0801fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / entirius_django_communicator-0.5.1-py3-none-any.whl
| Download URL | entirius_django_communicator-0.5.1-py3-none-any.whl |
|---|---|
| Size | 238.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74f505574bee032714de1f7d15ad8a3b9003189ea0c14cb1784851f282473af6
|
|
BLAKE2b-256 checksum How to use checksums |
05c387e86d96d4ce760ebca7d1224dfe7cf0f46fed42bfcfd97759fb83c701c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for entirius-django-communicator 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.