entirius-django-qms
A Django module for stock quantities in Entirius, the open-source modular ecommerce platform. It keeps stock per warehouse and SKU, imports it from CSV files, and passes every change on to the checkout and the product catalog.
What it does
- Models warehouses, the sales channels they serve and the stock of each SKU in each warehouse.
- Imports stock from CSV files with the
warehouse_import_csvmanagement command. - Exposes an admin REST API for warehouses and their stock, used by the CMS.
- Sends a signal on every stock change; optional handlers update the checkout and the product catalog when those modules are installed.
- Runs standalone: the checkout and catalog integrations are skipped when the modules are missing.
Installation
uv add entirius-django-qms
pip install entirius-django-qms
INSTALLED_APPS = [
...
"django_utils",
"django_qms",
]
# urls.py
urlpatterns = [
path("", include("django_qms.urls")),
]
The Celery tasks and the legacy pipelines need BI_ENVIRONMENT and BI_BUSINESS_UNIT (read when their event
definitions are imported). Optional settings (QMS_BULK_BATCH_SIZE, QMS_SUPPLIER_CODE_PREFIX) are listed with
their defaults in https://github.com/entirius/entirius-django-qms/blob/develop/docs/configuration.md.
Quick start
from django_qms.services.warehouse_service import bulk_upsert_stock, get_warehouse
warehouse = get_warehouse("wh-main")
bulk_upsert_stock(warehouse, [{"sku": "SKU-1", "quantity": 12}])
The same from a CSV file: python manage.py warehouse_import_csv --warehouse-code wh-main --file stock.csv.
Requirements
- Python 3.11 or newer, Django 5.0 or newer.
- PostgreSQL.
- Entirius packages pulled in:
entirius-django-utils,entirius-py-bievents,entirius-py-idx-normalizator,entirius-py-process-logger.
Documentation
- Module docs: https://github.com/entirius/entirius-django-qms/tree/develop/docs
- Entirius documentation: https://docs.entirius.com/
- Changelog: https://github.com/entirius/entirius-django-qms/blob/develop/CHANGELOG.md
Part of Entirius
This module runs inside the Entirius backend service (Volkanos) and feeds stock to the checkout and the catalog.
- Backend service: https://github.com/entirius/entirius-service-volkanos
- Docker harness: https://github.com/entirius/entirius-zeno
- Sibling modules: https://github.com/entirius/entirius-django-checkout, https://github.com/entirius/entirius-django-pim
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-qms/blob/develop/AGENTS.md
License
Mozilla Public License 2.0 (MPL-2.0) — see https://github.com/entirius/entirius-django-qms/blob/develop/LICENSE.
Metadata
Release files for entirius-django-qms 4.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| entirius_django_qms-4.1.1.tar.gz | 161.4 kB | Without provenance | Details for entirius_django_qms-4.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| entirius_django_qms-4.1.1-py3-none-any.whl | Python 3 | none | any | Details for entirius_django_qms-4.1.1-py3-none-any.whl |
Total release size: 236.6 kB
Release files / entirius_django_qms-4.1.1.tar.gz
| Download URL | entirius_django_qms-4.1.1.tar.gz |
|---|---|
| Size | 161.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48ba75b4f3bc5aa1a6124a048d419f2fb7b41e321c1e14d9a1fea1153988b207
|
|
BLAKE2b-256 checksum How to use checksums |
c33fde6d5304008351ddc95899e947d1008557c7576fa8d66b73dd28c83ff38d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / entirius_django_qms-4.1.1-py3-none-any.whl
| Download URL | entirius_django_qms-4.1.1-py3-none-any.whl |
|---|---|
| Size | 75.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bc51b438ede05e59878a029d574bc8b422e0c8be59f0fd5c28878a3639d8f27
|
|
BLAKE2b-256 checksum How to use checksums |
2aaa24d95d4ad053a9c78bc50e3f512e19593ab9a82cad90bfeae2dd5504b70e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for entirius-django-qms 4.1.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.