How pekkamc/finam works
Finam is a Flet-based financial learning and management app. The principal workflow is entering the app, resolving a route to a feature page, and using that feature to manage financial information persisted locally; the README also describes lessons, receipt scanning, analytics, and AI insights. The sampled app and database excerpts support startup and local persistence, while several feature implementations were not sampled, so their internal call relationships are omitted. Optional AI wiring is not identifiable from the available evidence.
Main entry points: app.py Route Dispatcher · database.py SQLite Persistence · components.py Financial Charts · savings Savings Goals
Components 21
App Runtime
- Route Dispatcher
src/app.py - SQLite Persistence
src/database.py - Application Logging
src/logger.py
Money Management
- Category Setup
src/pages/category_selection - Spending Tracker
src/pages/spending - Savings Goals
src/pages/savings - Purchase Scanner
src/pages/purchase_scanner
Learning and Insights
- Getting Started
src/pages/starter - Home Dashboard
src/pages/home - Interactive Lessons
src/pages/help - Spending Analysis
src/pages/common/spending_analysis.py
Shared UI and State
- User Accounts
src/pages/common/logic/accounts.py - Usage Cache
src/pages/common/logic/usage_cache.py - Financial Charts
src/pages/common/financial_chart/components.py - User Management
src/pages/user_management/view.py - App Settings
src/pages/settings - Entry Keyboard
src/pages/common/keyboard_container/components.py - Shared Dialogs
src/pages/common/spending_analysis_dialogs.py - Category Defaults
src/utils/data.py
Other components
- App User
- Google Generative AI
Connections 23
- App User → Route Dispatcher: opens
- Route Dispatcher → SQLite Persistence: initializes
src/app.py - Route Dispatcher → Getting Started: routes to
src/app.py - Route Dispatcher → Home Dashboard: routes to
src/app.py - Route Dispatcher → Category Setup: routes to
src/app.py - Route Dispatcher → Purchase Scanner: routes to
src/app.py - Route Dispatcher → Savings Goals: routes to
src/app.py - Route Dispatcher → Spending Tracker: routes to
src/app.py - Route Dispatcher → App Settings: routes to
src/app.py - Route Dispatcher → User Management: routes to
src/app.py - Route Dispatcher → Interactive Lessons: routes to
src/app.py - Route Dispatcher → Application Logging: logs errors
src/app.py - User Accounts → SQLite Persistence: uses account data
src/pages/common/logic/accounts.py - Usage Cache → SQLite Persistence: uses stored data
src/pages/common/logic/usage_cache.py - Financial Charts → SQLite Persistence: queries chart data
- Financial Charts → User Accounts: gets currency
src/pages/common/financial_chart/components.py - Savings Goals → Entry Keyboard: uses entry UI
src/pages/savings/components.py - Purchase Scanner → Spending Tracker: tracks purchases
README.md - Spending Analysis → Financial Charts: visualizes analytics
README.md - Category Defaults → Category Setup: supplies defaults
- App User → Google Generative AI: requests insights
README.md - Route Dispatcher → Spending Analysis: offers analysis
README.md - Route Dispatcher → Shared Dialogs: offers analysis dialogs
README.md