Skip to main content

entirius-django-leads

A Django module for leads and the B2B sales pipeline of Entirius, the open-source modular ecommerce platform. It keeps companies and contacts, moves them through stages, runs outreach rules and handles retention and GDPR.

PyPI Python License: MPL-2.0

What it does

  • Imports companies and contacts from CSV and contact forms, with deduplication by domain and email.
  • Moves companies through configurable pipeline stages with a full activity timeline.
  • Runs stage rules: AI-assisted site analysis, recipient selection and outreach drafts behind a consent gate.
  • Anonymises idle contacts on a retention schedule and serves GDPR export and erase requests.
  • Exposes an admin API (JWT, Pydantic schemas, OpenAPI) for the CMS.

Installation

uv add entirius-django-leads
pip install entirius-django-leads

Optional extras: entirius-django-leads[contact-forms] (form submissions become contacts), entirius-django-leads[notifications] (failure notifications to sales admins).

INSTALLED_APPS = [
    # ...
    "django_utils",
    "django_regional",
    "django_agreements",
    "django_siteintel",
    "django_communicator",
    "django_leads",
]

Settings, queue and bootstrap order: docs/install.md — https://github.com/entirius/entirius-django-leads/blob/develop/docs/install.md

Quick start

# main/urls.py
from django.urls import include, path

urlpatterns.append(path("", include("django_leads.urls")))

The admin API is then mounted under api/leads/v2/admin/; the endpoints are described in https://github.com/entirius/entirius-django-leads/blob/develop/docs/api.md

Requirements

  • Python 3.11 or newer, Django 4.2 or newer.
  • PostgreSQL in production (tests fall back to sqlite).
  • A Celery worker consuming the leads_default queue.
  • Entirius packages pulled in: entirius-django-utils, entirius-django-regional, entirius-django-agreements, entirius-django-communicator, entirius-django-siteintel.

Documentation

Part of Entirius

This module runs inside the Entirius backend service (Volkanos) and drafts its outreach through the communicator.

Development

make install     # sync dependencies (uv, incl. extras)
make check       # lint + format check (ruff)
make test        # test suite (pytest; PostgreSQL with DATABASE_URL, else sqlite)

Development and agent instructions: https://github.com/entirius/entirius-django-leads/blob/develop/AGENTS.md

License

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

Metadata

Release files for entirius-django-leads 0.5.1

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-leads 0.5.1
File Size Uploaded Provenance Actions
entirius_django_leads-0.5.1.tar.gz 387.2 kB Without provenance Details for entirius_django_leads-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 620.7 kB

Release files / entirius_django_leads-0.5.1.tar.gz

Download URL entirius_django_leads-0.5.1.tar.gz
Size 387.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fe0fd1d670a81e7d6444e7e522b0169ca42b887ea96d35c888bbecc972517af5
BLAKE2b-256 checksum
How to use checksums
d8f39bc4b8ae7443d1d58c8cd59d6aab36e105dea2a873d71e34dfe7166192da
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_leads-0.5.1-py3-none-any.whl

Download URL entirius_django_leads-0.5.1-py3-none-any.whl
Size 233.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6508458d2618b98084057461db611ad8959bca399c49881ac9775a34842377d8
BLAKE2b-256 checksum
How to use checksums
811216dc32e026545b42af159807987a2022c7e53fb467ff2fc1634595f20006
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-leads 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.

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