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

Built distribution (wheel)

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

Total release size: 190.7 kB

Release files / entirius_django_siteintel-0.3.1.tar.gz

Download URL entirius_django_siteintel-0.3.1.tar.gz
Size 135.2 kB
Tags Source
SHA-256 checksum
How to use checksums
12b02401033e1a195fc5c410d689dece38a0275bcbc378c2662a416d08d59040
BLAKE2b-256 checksum
How to use checksums
dfea022031ac7a1307ce1a104faeb0522fb41a192db5109353d6031455ce9fb5
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.1-py3-none-any.whl

Download URL entirius_django_siteintel-0.3.1-py3-none-any.whl
Size 55.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fcf0b2a8a339aebcab510c3336e4abb37f44c73dcb3e14336d8d756e4b7bcf9
BLAKE2b-256 checksum
How to use checksums
890b476375edf0244b57e816fa91b62a48f2e23a5e05c46fe219fab7a8a542d1
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.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