CARTIVANTA
RETAIL POS & BI.
A complete retail operating system and business intelligence suite tailored for Indian shops (INR) — combining fast barcode POS billing, GST/weighted-cost stock ledgers, Khata credit books, 1.029M-row historical analytics, 12-week demand forecasts, and K-Means RFM clustering.
EVERYDAY SHOPKEEPING MEETS ENTERPRISE DEMAND INTELLIGENCE.
Designed so a store owner can operate billing and Khata without training, while exposing 6 dedicated BI analytics pages with plain-language metrics strictly in Indian Rupees (₹).
Barcode POS & GST Billing
Rapid checkout screen with barcode lookup, GST computation, weighted-average COGS tracking, and atomic stock deduction.
Khata (Udhaar) & RBAC
Tracks customer credit limits, repayments, and supplier payables with strict Owner vs Cashier role-based access control.
1.029M Transaction Analytics
Benchmarked over 1.029M historical retail rows delivering net sales, gross margin, and velocity insights.
12-Week Demand Forecasting
LightGBM and Holt-Winters time-series forecasts evaluated with WAPE & MAE accuracy metrics.
K-Means RFM Segmentation
Clusters customers into actionable loyalty segments paired with a Festive Discount & Margin Uplift Simulator.
5D Data Quality Action Center
Scores catalog/transaction completeness and anomalies at 80.9/100 with concrete inventory reorder actions.
HOW IT WORKS.
FastAPI serves operational POS/Khata routes over WAL SQLite/PostgreSQL alongside background ML forecasting and segmentation engines.
POS / Inward
Barcode sales, GST & purchase inward.
WAL Ledger
Atomic stock, COGS & Khata balances.
Quality Gate
5D cleaner handles returns/cancellations.
ML & RFM
12-wk forecast & K-Means clustering.
6 BI Pages
Executive, Forecast, Festive & Action.
APPLICATION SCREENSHOTS.
Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.
RETAIL ACCOUNTING & ML ENGINE VERIFICATION.
Key modules, rules, safety checks, and automated test results documented in the repository.
| Subsystem | Implementation | Verified Result |
|---|---|---|
| Inventory Costing | Weighted-average COGS + atomic POS deduction | Accurate real net shop profit |
| ML Forecasting | LightGBM & Holt-Winters evaluated via WAPE/MAE | Handles zero-actual edge cases |
| Festive Simulator | Elasticity uplift vs gross-margin guardrail | Flags excessive discount traps |
| Test Suite | tests/test_cartivanta.py full verification | 20 / 20 Passed (100%) |
CORE TECHNOLOGIES.
Frameworks, databases, visualization tools, and testing libraries used in CARTIVANTA.
FUTURE ENHANCEMENTS.
Upcoming improvements planned for CARTIVANTA.
EXPLORE SOURCE & DOCS.
View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.