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

Built distribution (wheel)

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

Total release size: 620.6 kB

Release files / entirius_django_leads-0.5.0.tar.gz

Download URL entirius_django_leads-0.5.0.tar.gz
Size 387.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7dfe7dcf7259304ccd742cb6235737b2a30066d4fc19e94f2f196c1977d51588
BLAKE2b-256 checksum
How to use checksums
6fe52aa8949963cf9357fee1446b4c01ff7528918f974b802dc2c68a2748ac72
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.0-py3-none-any.whl

Download URL entirius_django_leads-0.5.0-py3-none-any.whl
Size 233.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89b424cbb568d5f4a2be2bb7bbdbd3703735cc825f7091942479f8377ba3187d
BLAKE2b-256 checksum
How to use checksums
0a5131cdf1aa2a55e32b5971639a4f5501da5e505dd585524569de5f115f686d
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.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.

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