flexcommerce-pricing
Tax categories (standard / zero-rated / exempt / custom rate), a VAT calculator and authoritative price quotes that include flash sales and tax.
Part of FlexCommerce — a complete, modular e-commerce and marketplace backend for Django + DRF, built for Nigeria and Africa. Every app is optional.
Features
- Admin-managed tax categories used by the price pipeline
POST /pricing/calculate/VAT breakdown, inclusive or exclusivePOST /pricing/quote/server-side prices for any products
Install
pip install flexcommerce-pricing
INSTALLED_APPS = [..., "rest_framework", "flexcommerce_core", "flexcommerce_pricing"]
urlpatterns = [path("api/", include("flexcommerce_core.urls"))]
python manage.py migrate
Example: POST /api/pricing/quote/
Documentation
Requires Python 3.10+, Django 4.2+, Django REST framework 3.14+. MIT licensed.
Metadata
Release files for flexcommerce-pricing 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_pricing-1.0.0.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flexcommerce_pricing-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.9 kB
Release files / flexcommerce_pricing-1.0.0.tar.gz
| Download URL | flexcommerce_pricing-1.0.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d753daa63d352c05acbcc37b8470619cfebc9e9d3989b3ae3dc6007673fff179
|
|
BLAKE2b-256 checksum How to use checksums |
8c64f34b5726bfb8fe8bc183c2781b096deb19bfb163f560e13a7dbd66671c54
|
| 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_pricing-1.0.0-py3-none-any.whl
| Download URL | flexcommerce_pricing-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d1353e976fee3c1caf44a1d58dd42bc016919b73619581ef41c9c53a8705de4
|
|
BLAKE2b-256 checksum How to use checksums |
af0ae82e3ff4c22bfe6968c8e38ee0377f86a49090325a85962727e2b69b4ef9
|
| 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