entirius-django-deliverypoints
A Django module for delivery and pickup points in Entirius, the open-source modular ecommerce platform. It stores carrier pickup points and a shop's own locations, imports them from CSV files and serves them to the storefront per sales channel, with a nearby search.
What it does
- Keeps a registry of delivery point types: carrier networks and custom locations such as showrooms and retail stores.
- Stores points with geo coordinates, translations and sales channel scoping.
- Imports points from CSV files in incremental or full mode, with an audit log of every import.
- Finds points near a location with a Haversine distance search.
- Exposes an admin REST API (JWT) for the CMS and a public, channel-scoped REST API for the storefront.
Installation
uv add entirius-django-deliverypoints
pip install entirius-django-deliverypoints
INSTALLED_APPS = [
...
"django_utils",
"django_regional",
"django_deliverypoints",
]
# urls.py
urlpatterns = [
path("", include("django_deliverypoints.urls")),
]
No setting is required. Optional settings (DELIVERYPOINTS_SEARCH_RADIUS_KM, DELIVERYPOINTS_IMPORT_BATCH_SIZE,
DELIVERYPOINTS_GOOGLE_GEOCODING_API_KEY) are listed with their defaults in
https://github.com/entirius/entirius-django-deliverypoints/blob/develop/docs/configuration.md.
Quick start
from django_deliverypoints.services.point_service import public_nearby_points
points = public_nearby_points(channel_idx="default", lat=52.2297, lng=21.0122, radius_km=5)
Load points first: python manage.py import_deliverypoints --file points.csv --type <type-code>.
Requirements
- Python 3.11 or newer, Django 5.0 or newer.
- Entirius packages pulled in:
entirius-django-utils,entirius-django-regional.
Documentation
- Module docs: https://github.com/entirius/entirius-django-deliverypoints/tree/develop/docs
- Entirius documentation: https://docs.entirius.com/
- Changelog: https://github.com/entirius/entirius-django-deliverypoints/blob/develop/CHANGELOG.md
Part of Entirius
This module runs inside the Entirius backend service (Volkanos) and serves pickup points to the storefront checkout.
- 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-regional
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-deliverypoints/blob/develop/AGENTS.md
License
Mozilla Public License 2.0 (MPL-2.0) — see https://github.com/entirius/entirius-django-deliverypoints/blob/develop/LICENSE.
Metadata
Release files for entirius-django-deliverypoints 2.2.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 | |
|---|---|---|---|
| entirius_django_deliverypoints-2.2.0.tar.gz | 115.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| entirius_django_deliverypoints-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 175.0 kB
Release files / entirius_django_deliverypoints-2.2.0.tar.gz
| Download URL | entirius_django_deliverypoints-2.2.0.tar.gz |
|---|---|
| Size | 115.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46549ff4754e996f76ec9155dbe757b6d2ab340e949ebc7f0d031feed36aaea0
|
|
BLAKE2b-256 checksum How to use checksums |
883e6739803b281be28d8c7b4f6754784e1b5f02df4eb36512b6e62b1bf880a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","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_deliverypoints-2.2.0-py3-none-any.whl
| Download URL | entirius_django_deliverypoints-2.2.0-py3-none-any.whl |
|---|---|
| Size | 59.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2eba012f052d200db7a2ea2c9f552263c0a2649a952e0630ec0925689cdfc9e4
|
|
BLAKE2b-256 checksum How to use checksums |
2036dfd543001379296bc7a164f77e87692880eed646806d2a7578eb27ed45cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","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}
|