flexcommerce-catalog
Product catalogue: category tree, brands, products with variants (size, colour…), images, search, filters, facets and related products. Approved marketplace vendors manage their own products.
Part of FlexCommerce — a complete, modular e-commerce and marketplace backend for Django + DRF, built for Nigeria and Africa. Every app is optional.
Features
- Materialised-path category tree with cached nested endpoint
- Products → variants (the purchasable unit, each with SKU, price, old price, weight, attributes)
- Filters: category (incl. children), brand, price, rating, in stock, on sale, attributes; 7 sort orders
- Pluggable search (database, PostgreSQL full-text, or Elasticsearch/Meilisearch via a function)
- Denormalised price range, stock status, rating and units sold for fast listings
- Facets endpoint (price range + brand counts) for filter sidebars
Install
pip install flexcommerce-catalog
INSTALLED_APPS = [..., "rest_framework", "flexcommerce_core", "flexcommerce_catalog"]
urlpatterns = [path("api/", include("flexcommerce_core.urls"))]
python manage.py migrate
Example: GET /api/catalog/products/?category=phones&brand=tecno&ordering=price
Documentation
Requires Python 3.10+, Django 4.2+, Django REST framework 3.14+. MIT licensed.
Metadata
Release files for flexcommerce-catalog 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flexcommerce_catalog-1.0.0.tar.gz | 18.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flexcommerce_catalog-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.1 kB
Release files / flexcommerce_catalog-1.0.0.tar.gz
| Download URL | flexcommerce_catalog-1.0.0.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0dcf95043573fedc7df44c6a5addacbb2cea53a0f41dff57f114edf4d50d9d03
|
|
BLAKE2b-256 checksum How to use checksums |
95e7acdaacc264de1018a2fdc80869a39ef2c0d7b72203c042fe14ad749733d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / flexcommerce_catalog-1.0.0-py3-none-any.whl
| Download URL | flexcommerce_catalog-1.0.0-py3-none-any.whl |
|---|---|
| Size | 21.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
210985e3bdd64d1c987bbf94f59f6ab442342c4de90b724013754d2cd6b664ae
|
|
BLAKE2b-256 checksum How to use checksums |
c14f9ef9ca5907f141d2f4d1e1adc5e82d52ed23b5644b9b6d30a6dee5f819fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency log