flexcommerce-shipping
Shipping for Nigeria out of the box (36 states + FCT in 8 zones) and configurable for anywhere: flat, per-item and weight-tier rates, free-shipping thresholds, pickup stations and delivery estimates.
Part of FlexCommerce — a complete, modular e-commerce and marketplace backend for Django + DRF, built for Nigeria and Africa. Every app is optional.
Features
seed_nigeria_shipping --with-methodssets everything up- Custom zones by state list or country
- Pickup stations with their own fees
- Pay-on-delivery availability per method
- Delivery date estimates that skip Sundays
Install
pip install flexcommerce-shipping
INSTALLED_APPS = [..., "rest_framework", "flexcommerce_core", "flexcommerce_shipping"]
urlpatterns = [path("api/", include("flexcommerce_core.urls"))]
python manage.py migrate
Example: POST /api/shipping/methods/calculate/
Documentation
Requires Python 3.10+, Django 4.2+, Django REST framework 3.14+. MIT licensed.
Metadata
Release files for flexcommerce-shipping 1.0.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 | |
|---|---|---|---|
| flexcommerce_shipping-1.0.0.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flexcommerce_shipping-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.2 kB
Release files / flexcommerce_shipping-1.0.0.tar.gz
| Download URL | flexcommerce_shipping-1.0.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c00c1e226a8ae16caa5acabc8266185bf5d56dc18b9bc8669f94d2640450dc85
|
|
BLAKE2b-256 checksum How to use checksums |
008663183fd020a3a0029e6247dced2d732f24fcf49c0b1b7c473ddd920746d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / flexcommerce_shipping-1.0.0-py3-none-any.whl
| Download URL | flexcommerce_shipping-1.0.0-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5d5cace825de7f79b3b4f2b03b6c615ff5805bc3c3ee9872d25aa04dd1559bc
|
|
BLAKE2b-256 checksum How to use checksums |
027fd022991e35c12f23b46d09d926c9716abacfa81c117959f80cf1a5af7def
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency log