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

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.1
File Size Uploaded Provenance Actions
entirius_django_deliverypoints-2.2.1.tar.gz 116.5 kB Without provenance Details for entirius_django_deliverypoints-2.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 176.2 kB

Release files / entirius_django_deliverypoints-2.2.1.tar.gz

Download URL entirius_django_deliverypoints-2.2.1.tar.gz
Size 116.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ed96b5c83e254eb8d8dab92daeea695b0f2c39d6718f4be51f6b1d8ab4f37da5
BLAKE2b-256 checksum
How to use checksums
decff368a7175e1030a3e790318db67139076e0406ee7608e826907b50cde6d9
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.1-py3-none-any.whl

Download URL entirius_django_deliverypoints-2.2.1-py3-none-any.whl
Size 59.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65e6e458da115fabf77acd8ee058cf9285d4a08f248cfa4e44dbfeedeeda7b51
BLAKE2b-256 checksum
How to use checksums
ad029a485b1fcd23425be37b6d9863ab4af5d26152254b9966ae026577544d39
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.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.

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