Rule-based price adjustments per channel, customer group, country, and currency
Project description
Django PriceTuner
Rule-based price adjustments for the Volkanos ecommerce platform. Rules scoped to channels, product categories, and products modify prices per customer group, country, and currency — companion module to entirius-django-pim and entirius-django-accounts.
Installation
pip install entirius-django-pricetuner
Add the app to your project:
INSTALLED_APPS = [
...
"django_pricetuner",
]
Requires django_accounts, django_pim, and django_regional in INSTALLED_APPS
(all installed automatically as dependencies).
Usage
Configure channels, rules, conditions, and scopes in the Django admin. Query adjusted prices via
django_pricetuner.output.PriceTuner. Test rules from the CLI:
python manage.py test-rule --channel_idx <idx> --sku <sku> [--currency PLN] [--country PL]
Development
make install # sync dependencies (uv)
make check # lint + format check (ruff)
make test # test suite (pytest + pytest-django)
Architecture and settings reference: AGENTS.md.
License
Mozilla Public License 2.0 — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file entirius_django_pricetuner-2.0.0.tar.gz.
File metadata
- Download URL: entirius_django_pricetuner-2.0.0.tar.gz
- Upload date:
- Size: 140.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fadbf714d6b8a61a8cdfdd0271f6947ddf2c4f60edcb93275d802fc4072ea29d
|
|
| MD5 |
3a532ed308cafa2699ce2175be2510e8
|
|
| BLAKE2b-256 |
e5116f3ec0aad15dd52e8630906f8605889f052cb1d59139f67bf153844c5baa
|
File details
Details for the file entirius_django_pricetuner-2.0.0-py3-none-any.whl.
File metadata
- Download URL: entirius_django_pricetuner-2.0.0-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8b95b8f1ad55490d4cacd49870598dbd4dd0c2d6037d7b095df8081abc071c2
|
|
| MD5 |
886d86623e2cbd2c7016b7056a7c380a
|
|
| BLAKE2b-256 |
15f0780f452594d3a7c1734f7d7ef3770e4b3129d901ea0f1d9bd4267ac64b79
|