Metadata-Version: 2.4
Name: entirius-django-deliverypoints
Version: 2.0.0
Summary: Delivery points Django module for Volkanos
Project-URL: Repository, https://github.com/entirius/entirius-django-deliverypoints
Author: Entirius
License-Expression: MPL-2.0
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: django>=5.0
Requires-Dist: djangorestframework-simplejwt>=5.3
Requires-Dist: djangorestframework>=3.14
Requires-Dist: drf-spectacular>=0.27
Requires-Dist: entirius-django-regional>=2.0.0
Requires-Dist: entirius-django-utils>=2.0.0
Requires-Dist: pydantic>=2.0
Requires-Dist: requests>=2.28.0
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Provides-Extra: test
Requires-Dist: dj-database-url; extra == 'test'
Requires-Dist: factory-boy; extra == 'test'
Requires-Dist: psycopg[binary]; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-django; extra == 'test'
Description-Content-Type: text/markdown

# django-deliverypoints

Delivery and pickup points management for Volkanos. Supports carrier pickup points (InPost, DPD, Orlen)
and custom location points (showrooms, retail stores).

## Features

- Delivery point type registry (carrier vs custom)
- Point CRUD with geo coordinates
- CSV import (incremental and full modes)
- Haversine-based nearby search
- Admin API (v2, JWT protected)
- Public API (v2, channel-scoped)

## Installation

```shell
pip install entirius-django-deliverypoints
```

Add the app to your project:

```python
INSTALLED_APPS = [
    ...
    "django_regional",
    "django_deliverypoints",
]
```

## Development

```shell
make install     # sync dependencies (uv)
make check       # lint + format check (ruff)
make test        # test suite (pytest + pytest-django)
```

Development and agent instructions: [AGENTS.md](AGENTS.md).

## License

Mozilla Public License 2.0 — see [LICENSE](LICENSE).
