Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sal's Shipping

Sal's Shipping is a Python program designed to help a shipping business calculate the cost of sending packages using various shipping methods. The program evaluates package weights and automatically determines the most cost-effective option among standard ground shipping, premium ground shipping, and drone shipping.

Features

  • Ground Shipping: Calculates a dynamic rate based on weight tiers, plus a flat method fee.
  • Ground Shipping Premium: Offers a higher, one-time flat rate for expedited ground service with no weight charges.
  • Drone Shipping: Provides ultra-fast delivery with a weight-based pricing structure and no base fee.
  • Cost Optimization: Compares all available methods to recommend the cheapest shipping option for any given package weight.

Shipping Rates

Ground Shipping

  • Flat Charge: $20.00
  • 2 lb or less: $1.50 per lb
  • Over 2 lb up to 6 lb: $3.00 per lb
  • Over 6 lb up to 10 lb: $4.00 per lb
  • Over 10 lb: $4.75 per lb

Ground Shipping Premium

  • Flat Charge: $125.00 (No weight fee)

Drone Shipping

  • 2 lb or less: $4.50 per lb
  • Over 2 lb up to 6 lb: $9.00 per lb
  • Over 6 lb up to 10 lb: $12.00 per lb
  • Over 10 lb: $14.25 per lb

Setup and Usage

Prerequisites

  • Python 3.x installed on your system.

Running the Script

  1. Clone this repository to your local machine:
    git clone [https://github.com/flowingcity777/Sals-Shipping.git](https://github.com/flowingcity777/Sals-Shipping.git)

About

Description: A Python-based shipping cost calculator that determines the most economical shipping method (Ground, Premium Ground, or Drone) based on package weight.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors