Skip to main content

entirius-django-siteintel

A Django module for domain intelligence in Entirius, the open-source modular ecommerce platform. It audits a website per registrable domain with PageSpeed Insights, urlscan.io and its own heuristic fetch, and announces the finished audit with one signal.

PyPI Python License: MPL-2.0

What it does

  • Audits a domain with three sources: PageSpeed Insights (Lighthouse), urlscan.io and a heuristic page fetch.
  • Reuses the valid audit of a domain within a channel instead of fetching again; audits expire on a schedule.
  • Announces every finished run once through the report_ready signal, with the sources that succeeded.
  • Guards its own fetches against private hosts and oversized pages, and trims stored snapshots.
  • Loads sources from the siteintel_sources entry-point group, so a host can add its own.
  • Exposes an admin API (JWT, Pydantic schemas, OpenAPI) for the CMS.

Installation

uv add entirius-django-siteintel
pip install entirius-django-siteintel
INSTALLED_APPS = [
    # ...
    "django_utils",
    "django_siteintel",
]

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

The module needs a Celery worker consuming the siteintel_default queue and two beat entries. The SITEINTEL_* settings, the API keys of the sources and the bootstrap order: docs/install.md — https://github.com/entirius/entirius-django-siteintel/blob/develop/docs/install.md

Quick start

from django_siteintel.services.audit_service import request_audit

audit = request_audit(
    domain_or_url="example.com",
    channel_idx="my-channel",
    requested_by="leads.Company:42",
)

The call returns the valid audit of the domain or queues a new run. Connect a receiver to django_siteintel.signals.report_ready (audit, succeeded_sources) to act on the result.

Requirements

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

Documentation

Part of Entirius

This module runs inside the Entirius backend service (Volkanos); the leads module requests audits from it.

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

License

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

Metadata

Release files for entirius-django-siteintel 0.3.2

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-siteintel 0.3.2
File Size Uploaded Provenance Actions
entirius_django_siteintel-0.3.2.tar.gz 135.2 kB Without provenance Details for entirius_django_siteintel-0.3.2.tar.gz

Built distribution (wheel)

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

Total release size: 190.7 kB

Release files / entirius_django_siteintel-0.3.2.tar.gz

Download URL entirius_django_siteintel-0.3.2.tar.gz
Size 135.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a125a0ca27773dd9ed540a0ef93936ba0387d302fa0950adc3704b222cda18a4
BLAKE2b-256 checksum
How to use checksums
a59cc1a1a22ba57ddf794b56e54adfeafd722d6a34da37647a0bec89a2fe3bda
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_siteintel-0.3.2-py3-none-any.whl

Download URL entirius_django_siteintel-0.3.2-py3-none-any.whl
Size 55.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5d7fe273e7a220947954c66ebd511c39e50a7af7e50fd8bdf71c4e81b1a63bf
BLAKE2b-256 checksum
How to use checksums
e17679f77f4f294c67563c4addc0112cbcad502b18a59162cf830cd02fbfaa2d
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-siteintel 0.3.2

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