Portrait of Mohamed Shaafi

Mohamed Shaafi

Most of my work starts with someone doing the same boring task every day. I write the Python that does it for them: checking stock across outlets, fixing product pages for search, printing price tags. Then I keep it running.

Things I've built

Each one took a job someone did by hand and handed back a result.

Order Sheet Sync

Python · FastAPI · pdfplumber

No.
01
From
Sales staff sorting POS bills by hand into website and Viber orders
To
Rows in the sales sheet, with duplicates and quotations caught first
Route
  1. Bill PDFs in
  2. Matched to order emails
  3. Rows written to the sheet

In testing

QuikPrice

Python · Flask

No.
02
From
Calling each shop to check a price or how many are left
To
Live price and stock at every warehouse and shop, from one search
Route
  1. SKU, name or barcode
  2. Live inventory lookup
  3. Stock per location

In use

Office bots, run from anywhere

Flask · SQLite · Nginx

No.
03
From
Bots that could only be started at the office PC, which accepts no outside connections
To
A dashboard on my own server that runs them on request and shows each result
Route
  1. Office agent calls out
  2. Dashboard hands it a job
  3. Agent runs it and reports back

In use

SEO pipeline

Python · Playwright · WooCommerce

No.
04
From
Checking product pages one by one for missing search details
To
Pages diagnosed and fixed in the store, with a list of what still needs work
Route
  1. Scan the product list
  2. Diagnose each page
  3. Write the fixes

In use

Price tag generator

Python

No.
05
From
Editing every shelf tag by hand
To
Print-ready price tags straight from product data
Route
  1. Product data in
  2. Tags laid out
  3. Ready to print

In use

Delivery tracking

Python · Flask

No.
06
From
Asking around to find where an order is
To
One view of each order, from the counter to the doorstep
Route
  1. Order logged at the counter
  2. Updated on the way
  3. Marked delivered

Prototype

Smaller jobs

  • Nightly stock refresher Inventory counts copied into a Google Sheet every night.
  • Image converter Product photos batch-converted and compressed for the web.

Achievements

A running log. Newest at the top.

  1. Launched mohamedshaafi.dev

    Registered my own domain and shipped this site, built for speed, security and search.

  2. Running my own server

    Set up a Linux VPS with Nginx and a Flask dashboard that hosts my bots.

  3. In-house developer for a retail company

    Became the go-to developer at a multi-outlet retailer, shipping the internal tools the team uses.

Tools I use

  • Python
  • Flask
  • FastAPI
  • SQLite
  • Playwright
  • JavaScript
  • HTML
  • CSS
  • Nginx
  • Linux
  • WooCommerce
  • Git