Skip to content

sldowd/bakery-data-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧁 Bakery Data Lab

A companion data science project to the bakery-manager CLI app. This lab explores real-world analytics, trends, and predictions using transaction and inventory data collected by the bakery system.


🧠 Project Goals

  • Analyze bakery inventory and transactions with Python & pandas
  • Visualize trends using matplotlib and seaborn
  • Forecast inventory depletion and sales using basic ML
  • Build interactive or exportable reports for the team

πŸ“¦ Tech Stack

  • Python 3 (via Anaconda)
  • Jupyter Notebook / JupyterLab
  • pandas, matplotlib, seaborn
  • SQLite (using data from bakery-manager)

Optional:

  • scikit-learn for regression or classification
  • streamlit for interactive dashboards

πŸ“ Project Structure

bakery-data-lab/
β”œβ”€β”€ notebooks/
β”‚   └── transactions_analysis.ipynb
β”œβ”€β”€ data/
β”‚   └── bakery.db  # or CSV exports from bakery-manager
β”œβ”€β”€ scripts/
β”‚   └── connect_sqlite.py
β”œβ”€β”€ README.md
└── requirements.txt  (optional for pip)

🏁 Getting Started

  1. Clone this repo
  2. Open a Jupyter notebook:
jupyter notebook
  1. Run transactions_analysis.ipynb to explore sales + expenses

You can also use:

jupyter lab

πŸ’‘ Data Source

This lab uses data generated by the bakery-manager Rust application:

  • Inventory (inventory table)
  • Transactions (transactions table)
  • Recipes and usage (optional in advanced stages)

You can export the SQLite file or write a Rust function to output CSVs for easier import.


πŸ“Š Example Questions We’ll Answer

  • What are my top-selling items?
  • Which ingredients are depleting the fastest?
  • When should I reorder butter?
  • What’s the rolling 7-day revenue?

πŸ“ˆ Next Steps

  • Add more notebooks to the /notebooks folder
  • Link with your bakery-manager project for real-time analysis
  • Build a streamlit dashboard version

Made with β˜• + 🍞 by Sarah, data baker-in-training 🧁

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published