SNC-WF-116 · Free Tier · Logistics & Fulfilment

Compare contracted carrier rates and pick the cheapest SLA-compliant courier.

SNC-WF-116 · Multi-Carrier Shipping Rate Quoter & Optimal Carrier Selector (Free Tier)

A self-hosted Python workflow that compares contracted freight tariffs across couriers (Delhivery, Shiprocket, Blue Dart) factoring volumetric weight, fuel surcharges, COD fees, and transit SLAs.

PRODUCT SUMMARY AT A GLANCESNC-WF-116
Primary OutcomeCalculates chargeable weight (dead vs volumetric), fuel surcharges, and COD fees across carriers to select the lowest-cost courier meeting your transit SLA.
How It RunsSelf-Hosted Python 3.9+ (Runs on your own computer or server)
Setup ExpectationsFree to self-host on your own hardware. Free workflows never run on Sanocea infrastructure. Optional assisted setup available via WhatsApp.
Verification StatusCode & Logic Tested: Tested for DIM divisor math, COD fees, transit SLA filtering, and CSV sanitization
The 3-Step Process in Simple English
1. Input

shipments.csv + config/carrier_tariffs.json

2. Transformation

3. Output

Optimal carrier selection CSV, HTML savings report, and SQLite quote ledger

100% Free to self-host. Want Sanocea to set it up? Request Assisted Setup or Customisation.

Setup scope covers installation on customer-controlled infrastructure, configuration of authorised integrations, functional testing and handover.

Hosting, third-party charges and ongoing support are excluded unless separately agreed. Free workflows run on customer hardware; Sanocea does not provide free VPS hosting.

Direct Download or Assisted Setup: Download the free toolkit below, or contact engineering on WhatsApp to request assisted setup or customisation.

What Goes Wrong in an Ordinary Working Day

Shipping costs consume 10–20% of e-commerce GMV, yet static carrier assignment rules ignore volumetric divisors, zone slabs, and transit SLAs.

The Impact on Your Business & Customers

Choosing the optimal carrier before label generation saves 5–12% on outbound shipping without sacrificing delivery speed.

What This Tool Does & What Changes for You

Ingests shipments.csv and carrier_tariffs.json, quotes every eligible carrier, selects the lowest-cost SLA-compliant option, and writes dispute-safe CSV/HTML reports.

What Changes in Practice:

Your dispatch team ships every order on the most cost-effective courier that still meets customer delivery promises.

What You Need Before Getting Started

  • Outbound shipments CSV with weight, dimensions, zone, and max transit days.
  • Your contracted carrier tariffs in config/carrier_tariffs.json.
  • Python 3.9+ on any computer or server.

Technical Setup Guidance:

Setup Difficulty & Expected Time

Step-by-Step Run Instructions (Zero-Code Terminal Run)

  1. Download and extract snc-wf-116-multi-carrier-rate-selector.zip.
  2. Update config/carrier_tariffs.json with your contracted carrier slabs.
  3. Run: python3 selector.py --shipments fixtures/shipments.csv --tariffs config/carrier_tariffs.json --outdir sample_reports
  4. Inspect sample_reports/carrier_rate_quotes.csv for selected carriers and freight savings.

What You Receive in the Download Archive

Every deliverable is clean, self-contained, and ready for immediate deployment. You receive the complete files, configuration templates, setup guides, and automated tests.

File NameDeliverable Description
selector.pyStandalone Python multi-carrier rate quoter & selector
config/carrier_tariffs.jsonContracted carrier DIM, slab, fuel, and COD tariff template
fixtures/shipments.csvSample outbound shipments CSV fixture
tests/test_carrier_selector.pyAutomated pytest suite for DIM math & SLA filtering

Architecture Diagram & Tested Capabilities

For technical teams or developers assisting your business, below is the visual execution architecture and automated verification breakdown:

Compare contracted carrier rates and pick the cheapest SLA-compliant courier. Architecture Pipeline Diagram
⚡Deterministic execution flow: runs on your own compute without telemetry tracking.

Verification Disclosure

Hermetically verified with automated pytest suites covering volumetric weight calculation, transit SLA filtering, multi-carrier ranking, and SQLite audit logging.

DIM vs Dead Weight Math

Computes chargeable weight per carrier using carrier-specific DIM divisors.

Fully Tested

Transit SLA Filtering

Excludes carriers whose estimated zone transit days exceed max_transit_days.

Fully Tested

COD & Fuel Surcharge Math

Includes fuel surcharge % and COD handling fees in total landed quote.

Fully Tested

Savings Quantification

Reports per-shipment freight savings vs highest-cost eligible carrier.

Fully Tested

Documented Limitations & Third-Party Costs

We believe in complete transparency. Review the documented technical boundaries and external service fee breakdown below prior to obtaining the package:

⚠️Documented Boundaries & Considerations

  • Tariff-File Driven: Evaluates contracted rate cards supplied in carrier_tariffs.json; live carrier API rate-shopping requires merchant API keys.
ComponentEstimated CostDetails & Free Tier Allowances
Multi-Carrier Rate Selector (Self-Hosted)100% FreeComplete Python script, tariff config, tests, and documentation
Self-Hosted Execution₹0 recurringRuns locally with zero SaaS fees

Platform Compatibility & Technical Specifications

Operating System
Linux, macOS, Windows
Runtime / Python
Python 3.9+
Supported Platforms
Delhivery, Shiprocket, Blue Dart, Shopify, WooCommerce
Required Inputs
  • shipments.csv with dead_weight_kg, length_cm, width_cm, height_cm, destination_zone, payment_mode, max_transit_days
  • config/carrier_tariffs.json with carrier DIM divisors, zone slabs, fuel surcharges, and COD fees
Generated Outputs
  • carrier_rate_quotes.csv formula-safe optimal carrier selection ledger
  • carrier_rate_report.html visual comparison & savings report
  • carrier_rate_summary.json machine-readable summary
  • carrier_selector.db SQLite quote audit ledger
Free Self-Hosted SoftwareInstant Free Download · Request Customisation

Download or Set Up SNC-WF-116

Receive the complete distributable archive containing selector.py, step-by-step setup guides, mock fixtures, and automated test suites.

Free to self-host. Want Sanocea to set it up? Request Assisted Setup or Customisation.

Setup scope covers installation on customer-controlled infrastructure, configuration of authorised integrations, functional testing and handover.

Hosting, third-party charges and ongoing support are excluded unless separately agreed. Free workflows must never run on Sanocea-hosted infrastructure.

SIGN IN TO DOWNLOADRequest Customisation on WhatsAppWe reply within 2 business days (Monday to Saturday, 9:00 AM to 9:00 PM IST)

Frequently Asked Questions

How does it handle volumetric vs dead weight?

For each carrier, it calculates (L*W*H)/dim_divisor and bills on max(dead_weight_kg, volumetric_weight_kg) rounded up to 0.5kg slabs.

What if no carrier meets the requested transit SLA?

The shipment is flagged as NO_ELIGIBLE_CARRIER so dispatchers can review or override.

Does it include COD fees and fuel surcharges?

Yes. Both fuel_surcharge_pct and COD percentage/minimum fee are factored into the final quoted_cost.

Volumetric Weight Overcharges: Auditing Carrier Divisors, Slab Ceilings, and Dead Weight Billing Variances

Selecting the lowest-cost eligible courier per shipment using contracted DIM divisors, fuel surcharges, COD fees, and transit SLAs.

Read Field Guide on Sanocea Insights →

Explore Related Self-Hosted Tools

SNC-WF-006Self-Hosted Python 3.8+

Validate Shipping Address Data & Indian PIN Codes Before Label Creation

Shipping Label Data & PIN Code Validator (Free Tier)

A free, self-hosted Python tool that audits e-commerce shipment manifests before sending them to courier label APIs (Shiprocket, Delhivery, Bluedart, Shadowfax). It checks 6-digit Indian PIN codes against regional postal circles, auto-splits addresses exceeding 50 characters, normalizes phone numbers (+91/0 prefix), and calculates volumetric weight disparity to prevent courier billing disputes.

SNC-WF-014Python 3.10+

Fulfill Multi-Item Orders from Nearest Warehouses Without Split Shipments

Local-First Multi-Warehouse Inventory Allocation & Order Routing Engine

A local-first Python tool that optimizes order fulfillment across multiple fulfillment centers. It matches multi-item customer orders against warehouse inventory balances using configurable strategies (priority, nearest_zone, or no_split), generating exact dispatch manifests, courier shipment routing, and shortage exception logs before you send orders to the warehouse floor.

E03Python 3.10+

Catch Fulfillment Delays and SLA Breaches Before Customer Complaints Escalate

Late-Order Fulfillment SLA Monitor & Escalation Digest

An enterprise continuous fulfillment monitor hosted on Sanocea private VPS infrastructure. It audits your unfulfilled order queue every 15 minutes, categorizes aging orders across 24h, 48h, and 72h breach thresholds, alerts warehouse managers on Telegram, and delivers daily executive fulfillment briefings so your dispatch team never misses an SLA deadline.