Skip to content

Tommy-IA/product-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Product Analyzer

A Python-based tool designed to help businesses analyze product profitability and optimize pricing strategies based on a target margin.

Overview

Product Analyzer allows you to evaluate the performance of your products by comparing current pricing with a desired target margin. The software calculates:

  • Current margin and profit
  • Suggested price to reach the target margin
  • Potential profit increase
  • Markup and food cost percentages
  • Performance indicators with visual alerts

This tool is especially useful for:

Restaurants

Retail businesses

Small business owners

Features

  • Input multiple products in a single session
  • Automatic margin and profit calculations
  • Target-based price optimization
  • Markup (%) and Food Cost (%) analysis
  • Visual performance alerts (🟢 🟡 🔴)
  • Clean and structured terminal report

How It Works

Insert your target margin

Add your products

Enter cost and current price for each product

Get a full profitability report instantly

Example Output Target margin: 65.00%

Product: Margherita Initial cost: £3.00 Current price: £10.00 Margin: 70.00% Profit: £7.00 Suggested price: No change needed Markup: 233.33% Food Cost: 30.00% Status: 🟢

Product: Pasta Initial cost: £3.85 Suggested price: £11.00 Markup: 185.71% Food Cost: 35.00% Status: 🟢

Future Features

v2.0 — AI Agent (in progress): Adding an AI agent loop with function calling. The agent autonomously calculates margins, food costs, markup, and generates reports using OpenAI's GPT-4o

Requirements

  • Python 3.13
  • No external libraries needed

Author

Tommaso Marras
GitHub · LinkedIn

About

A Python-based tool for analyzing product profitability and optimizing pricing strategies. Calculates margin, profit, markup, food cost, and suggests optimal prices for single or multiple products.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages