Skip to main content

entirius-django-matrix

A Django module that keeps the storefront read model of Entirius, the open-source modular ecommerce platform. It holds a denormalized, per-channel projection of the product catalog — translations, prices and stock — and serves it to the storefront over a versioned REST API with faceted, full-text and trigram search.

PyPI Python License: MPL-2.0

What it does

  • Keeps one product representation per sales channel, with translations, prices and stock.
  • Serves product listings, product details, categories, options, prices and stock to the storefront.
  • Searches the catalog with facets, PostgreSQL full-text search and optional trigram (fuzzy) matching.
  • Fills the read model from the product, pricing and stock modules with worker jobs and management commands.
  • Degrades gracefully when an optional source module (stock, prices, omnibus prices, reviews) is not installed; stock, prices and reviews also when the module is installed but not enabled.

Installation

uv add entirius-django-matrix
pip install entirius-django-matrix
INSTALLED_APPS = [
    ...
    "django.contrib.postgres",
    "django_utils",
    "django_regional",
    "django_pim",
    "django_matrix",
]

# urls.py
urlpatterns = [
    path("", include("django_matrix.urls")),
]

No setting is required: every setting has a default. Reference with defaults: https://github.com/entirius/entirius-django-matrix/blob/develop/docs/configuration.md

Optional integrations are extras: qms (stock), pricemanager (prices), checkout (real-time stock updates), omnibus (lowest recent price), reviews (average rating).

uv add "entirius-django-matrix[qms,pricemanager]"

Quick start

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

urlpatterns = [
    path("", include("django_matrix.urls")),
]
python manage.py migrate
python manage.py fill-read-model

Requirements

  • Python 3.11 or newer, Django 5.0 or newer.
  • PostgreSQL (GIN indexes, full-text search; pg_trgm for fuzzy search).
  • Entirius packages pulled in: entirius-django-utils, entirius-django-pim, entirius-django-regional, entirius-py-magento2-sdk2, entirius-py-idx-normalizator, entirius-py-bievents, entirius-py-process-logger.

Documentation

Part of Entirius

This module runs inside the Entirius backend service (Volkanos), next to the product, pricing and stock modules.

Development

make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest + pytest-django, needs PostgreSQL via DATABASE_URL)

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

License

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

Metadata

Release files for entirius-django-matrix 5.1.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-matrix 5.1.2
File Size Uploaded Provenance Actions
entirius_django_matrix-5.1.2.tar.gz 335.6 kB Without provenance Details for entirius_django_matrix-5.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 539.9 kB

Release files / entirius_django_matrix-5.1.2.tar.gz

Download URL entirius_django_matrix-5.1.2.tar.gz
Size 335.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1be36f82a78389a71b837c9f51d4dd21868161e81d6f0e02923c534c3e584b47
BLAKE2b-256 checksum
How to use checksums
0cf2f3c4f1628b5d1d9fd298e2a55b1813cc68915c4333d19fc46b6eeb386774
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_matrix-5.1.2-py3-none-any.whl

Download URL entirius_django_matrix-5.1.2-py3-none-any.whl
Size 204.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb0201f75d28be5c49d51128ce5674207a7f2f5907a7b902c6c2c7c7a065b67b
BLAKE2b-256 checksum
How to use checksums
289111238d6e8ae835306e30a3278f2bde1b2b0ea1d349bc065a7bf286b6d6ab
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-matrix 5.1.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