Skip to main content

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.

PyPI Python License: MPL-2.0

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

Part of Entirius

This module runs inside the Entirius backend service (Volkanos) and serves pickup points to the storefront checkout.

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.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entirius-django-deliverypoints 2.2.2
File Size Uploaded Provenance Actions
entirius_django_deliverypoints-2.2.2.tar.gz 116.6 kB Without provenance Details for entirius_django_deliverypoints-2.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for entirius-django-deliverypoints 2.2.2
File Interpreter ABI Platform Actions
entirius_django_deliverypoints-2.2.2-py3-none-any.whl Python 3 none any Details for entirius_django_deliverypoints-2.2.2-py3-none-any.whl

Total release size: 176.2 kB

Release files / entirius_django_deliverypoints-2.2.2.tar.gz

Download URL entirius_django_deliverypoints-2.2.2.tar.gz
Size 116.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c6ccec716e3e1a3d04103f39fd901229d518de476fd175613ede168358cad123
BLAKE2b-256 checksum
How to use checksums
c9b965015c145daed5ded2e5be001832217adf02cc34c877bcc3c8dca27b8648
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2-py3-none-any.whl

Download URL entirius_django_deliverypoints-2.2.2-py3-none-any.whl
Size 59.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29394f56d4bb1dbb26072822d324b881ee181ee648f6d63425c313b62cc66f3e
BLAKE2b-256 checksum
How to use checksums
ac3eae3a74f2afad9e7d2c1fd34dbfc8d0686c55edb9fb218fcc83124f6e4bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for entirius-django-deliverypoints 2.2.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page