How pranjal1-1/gramcred works
GramCred is an offline-first financial intelligence platform for rural micro-enterprises. Its documented workflow brings enterprise and financial records together with market, weather, and crop information to produce forecasts, risk signals, explanations, and actionable analytics. The README describes a PySide6 presentation layer over application use cases, a framework-independent domain, ports, and infrastructure adapters; the sampled implementation currently shows configuration, structured logging, and SQLite setup, not the product workflow itself. Other capability nodes reflect the README and documentation tree; their runtime wiring is not shown.
Main entry points: 06_AI_ARCHITECTURE.md Financial intelligence · 05_UI_UX_SPECIFICATION.md Desktop UI · application Application use cases · domain Business domain
Components 20
User capabilities
- Desktop UI
docs/05_UI_UX_SPECIFICATION.md - Enterprise data
docs/02_SRS.md - Financial records
docs/04_DATA_AND_DATABASE_DESIGN.md - Market prices
docs/17_DATA_PIPELINES.md - Weather data
docs/17_DATA_PIPELINES.md - Crop information
docs/17_DATA_PIPELINES.md - Financial intelligence
docs/06_AI_ARCHITECTURE.md - Forecasts
docs/06_AI_ARCHITECTURE.md - Risk signals
docs/06_AI_ARCHITECTURE.md - Explanations
docs/06_AI_ARCHITECTURE.md - Actionable analytics
docs/10_REPORTING_ANALYTICS.md
Application and domain
- Application use cases
src/gramcred/application - Business domain
src/gramcred/domain - Domain ports
src/gramcred/domain/ports/__init__.py
Infrastructure
- Offline sync
docs/08_SYNC_AND_OFFLINE.md - SQLite engine
src/gramcred/infrastructure/database/engine.py - Local database
- App configuration
src/gramcred/infrastructure/config/__init__.py - Structured logging
src/gramcred/infrastructure/logging/__init__.py
Other components
- Enterprise user
Connections 18
- Enterprise user → Desktop UI: uses
README.md - Desktop UI → Application use cases: presents
README.md - Application use cases → Business domain: orchestrates
README.md - Business domain → Domain ports: depends on
README.md - Domain ports → SQLite engine: implemented by
README.md - SQLite engine → Local database: reads and writes
src/gramcred/infrastructure/database/engine.py - Enterprise data → Financial intelligence: informs
README.md - Financial records → Financial intelligence: informs
README.md - Market prices → Financial intelligence: informs
README.md - Weather data → Financial intelligence: informs
README.md - Crop information → Financial intelligence: informs
README.md - Financial intelligence → Forecasts: produces
README.md - Financial intelligence → Risk signals: produces
README.md - Financial intelligence → Explanations: produces
README.md - Financial intelligence → Actionable analytics: produces
README.md - App configuration → Structured logging: configures
src/gramcred/infrastructure/logging/__init__.py - Enterprise user → Actionable analytics: reviews
- Offline sync → Local database: synchronizes