Skip to main content

entirius-django-todo

A Django module for tasks for people in Entirius, the open-source modular ecommerce platform. Any module gives a person something to do by a date, about any object; the person sees it in one "today" list and gets a bell notification when it is due.

PyPI Python License: MPL-2.0

What it does

  • Stores tasks (mail, phone, linkedin, meeting, todo) about an opaque subject reference, with a due date, an owner and an outcome when closed.
  • Lets a calling module create a task idempotently through a dedup_key.
  • Lists tasks by owner, status, due bucket (overdue, today, upcoming, none) in the caller's time zone, and sums up one person's day (today/).
  • Sends one personal, non-escalating bell notification when a task falls due (with entirius-django-notifications).
  • Exposes an admin API (JWT, Pydantic schemas, OpenAPI) for the CMS.

Installation

uv add entirius-django-todo
pip install entirius-django-todo

Optional extras: entirius-django-todo[notifications] (the due reminder), entirius-django-todo[access] (the todo.tasks access area). Without notifications the reminder task does nothing.

INSTALLED_APPS = [
    # ...
    "django_utils",
    "django_todo",
]

# main/urls.py
urlpatterns.append(path("", include("django_todo.urls")))

The module needs a Celery worker consuming the todo_default queue and the reminder beat entry. Settings (TODO_QUEUE_DEFAULT, TODO_REMIND_BATCH) and the beat entry: docs/install.md — https://github.com/entirius/entirius-django-todo/blob/develop/docs/install.md

Quick start

from django_todo.services import task_service

task_service.create(
    channel_idx="my-channel",
    subject_ref="leads.Company:42",
    subject_label="Example Ltd",
    kind="phone",
    title="Call back about the offer",
    owner_id=7,
    created_by="rule:reply-interested",
    source="leads.reply.interested",
    dedup_key="reply:1234",
)

Requirements

  • Python 3.11 or newer, Django 4.2 or newer.
  • PostgreSQL.
  • A Celery worker consuming the todo_default queue, Celery beat and a celery_once backend.
  • Entirius packages pulled in: entirius-django-utils.

Documentation

Part of Entirius

This module runs inside the Entirius backend service (Volkanos); other modules create tasks for people.

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-todo/blob/develop/AGENTS.md

License

Mozilla Public License 2.0 (MPL-2.0) — see https://github.com/entirius/entirius-django-todo/blob/develop/LICENSE.

Metadata

Release files for entirius-django-todo 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entirius-django-todo 0.1.0
File Size Uploaded Provenance Actions
entirius_django_todo-0.1.0.tar.gz 99.7 kB Without provenance Details for entirius_django_todo-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for entirius-django-todo 0.1.0
File Interpreter ABI Platform Actions
entirius_django_todo-0.1.0-py3-none-any.whl Python 3 none any Details for entirius_django_todo-0.1.0-py3-none-any.whl

Total release size: 130.1 kB

Release files / entirius_django_todo-0.1.0.tar.gz

Download URL entirius_django_todo-0.1.0.tar.gz
Size 99.7 kB
Tags Source
SHA-256 checksum
How to use checksums
448e13f4aae0c7be89c9d195510750e2814c59a960eb3e91d8bdbe2cc77b2f52
BLAKE2b-256 checksum
How to use checksums
d7ba89694a303d5e1e4176702cd337f0b2de1323c785bf21a958d9d27ee1c648
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_todo-0.1.0-py3-none-any.whl

Download URL entirius_django_todo-0.1.0-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c83e4e9cd3fb79c6ddb4b9af6d75b36fce620853b8ae61ea43f161c8fbda155
BLAKE2b-256 checksum
How to use checksums
0bb802f9f4b365943d32b4db5bd768ecebaa87736788aa03db032ce93a1c2310
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-todo 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page