How lolokeia/abv-bank works
ABV-BANK is a Python client/server banking project. The user workflow runs from the desktop UI through client request logic to server-side authentication or account operations, then to SQLite-backed state and a response. The server also exposes a separate administration console. The README documents framed TCP messaging, expiring tokens, localization, and account operations. Some entry-point and client transport details are not excerpted, so those links are marked unverified rather than presented as confirmed calls.
Main entry points: server_main.py Server runtime · cmd_handle.py Command dispatch · transactions.py Account operations · auth.py Authentication
Components 21
Desktop client
- Client screens
client_main.py - Request logic
client/logic.py - Client CLI
client/cli.py - Client session
client/session.py - Localization
client/locales.py - Tooltip widget
ctktooltip/ctk_tooltip.py - Client config
client_config.py
Server operations
- Server runtime
server_main.py - Authentication
server/auth.py - Account operations
server/transactions.py - Token service
server/tokens.py - Account checksum
server/luhn.py - Server config
config.py
Banking state
- SQLite storage
server/db.py
Shared infrastructure
- Message framing
shared/protocol.py - Response objects
shared/comms.py - Error codes
shared/codes.py - Server logging
shared/log.py - Terminal colors
shared/collibry.py
Administration
- Command dispatch
server/cmd_handle.py
Other components
- Bank customer
Connections 35
- Bank customer → Client screens: uses
README.md - Client screens → Request logic: requests
client_main.py - Client screens → Client session: updates
client_main.py - Client screens → Localization: localizes
client_main.py - Client screens → Tooltip widget: uses
client_main.py - Request logic → Message framing: uses framing
client/logic.py - Request logic → Response objects: builds requests
client/logic.py - Request logic → Error codes: checks codes
client/logic.py - Client CLI → Message framing: uses framing
client/cli.py - Client CLI → Response objects: builds requests
client/cli.py - Client CLI → Client config: reads config
client/cli.py - Request logic → Server runtime: sends requests
README.md - Server runtime → Message framing: uses framing
server_main.py - Server runtime → Authentication: dispatches auth
server_main.py - Server runtime → Account operations: dispatches operations
server_main.py - Server runtime → Command dispatch: starts console
server_main.py - Server runtime → Server logging: logs activity
server_main.py - Authentication → SQLite storage: reads and writes
server/auth.py - Authentication → Token service: revokes tokens
server/auth.py - Authentication → Response objects: returns status
server/auth.py - Account operations → SQLite storage: reads and writes
server/transactions.py - Account operations → Authentication: checks PIN
server/transactions.py - Account operations → Account checksum: checks account number
server/transactions.py - Account operations → Response objects: returns status
server/transactions.py - Token service → SQLite storage: reads and updates
server/tokens.py - Command dispatch → SQLite storage: administers data
server/cmd_handle.py - Command dispatch → Authentication: creates users
server/cmd_handle.py - Command dispatch → Account operations: runs operations
server/cmd_handle.py - Command dispatch → Token service: cleans tokens
server/cmd_handle.py - Command dispatch → Server logging: records actions
server/cmd_handle.py - SQLite storage → Account checksum: generates account numbers
server/db.py - SQLite storage → Server config: reads token expiry
server/db.py - Server logging → Server config: reads log path
shared/log.py - Server logging → Terminal colors: formats output
shared/log.py - Response objects → Error codes: uses defaults
shared/comms.py