Thriving Thriving Python PY
↑ 42 ?
api.pesaguard Victor-Kipruto-Rop/api.pesaguard

Production-grade fintech platform for real-time transaction ingestion, automated reconciliation, anomaly detection, fraud monitoring, audit trails, alerts, and financial reporting across M-Pesa, Airtel Money, and banking channels.

HEALTH ? 80 / Healthy
// solo builder// hidden gem airtelairtelmoneybankingbanking-applicationsmpesampesa-apimpesa-backendmpesa-integrationmpesa-paymentsmpesapi ?

// readme

PesaGuard

Real-time M-Pesa reconciliation and anomaly detection for SACCOs, e-commerce operators, and small fintechs.

Current status

The repository contains the production application, migrations, Docker deployment, readiness checks, backup tooling, and CI/CD workflows. It must still pass the staging deployment gate before live payment traffic is enabled.

Technology stack

  • Python 3.12
  • Flask API mounted behind a FastAPI control plane
  • PostgreSQL 15+
  • Redis 7+
  • Redpanda/Kafka-compatible event streaming
  • RQ background workers
  • Docker and GitHub Actions
  • Safaricom Daraja integrations

Local verification

python -m venv .venv
source .venv/bin/activate
pip install -r pesaguard_backend_pipeline/requirements-dev.txt
cp .env.example .env

export PYTHONPATH=.
pytest -v --tb=short --durations=10
python -m compileall -q pesaguard_backend_pipeline

Local datasource registry integration

The server-side registry lookup client and tenant-scoped endpoint are documented in Local datasource registry integration. This is a read-only lookup against…