How gaussticdev/gramly works
Gramly is a lightweight Python framework for building Telegram bots. A developer uses decorators on plain functions to define bot behavior; the framework includes command and callback routing, update guards, Telegram-related data models, and helpers for rich content and keyboards. The repository is a small package with most runtime responsibilities in one large module. The excerpts show guard and callback dispatch behavior, but do not establish the full update-receiving or Telegram API transport workflow.
Main entry points: gramly.py Bot framework · __init__.py Public exports
Components 10
Package API
- Public exports
gramly/__init__.py
Bot Runtime
- Bot framework
gramly/gramly.py - Command routes
gramly/gramly.py - Callback routes
gramly/gramly.py - Update guards
gramly/gramly.py - Telegram models
gramly/gramly.py - Callback data
gramly/gramly.py
Bot Content
- Keyboard helpers
gramly/gramly.py - Rich content
gramly/gramly.py
Other components
- Bot developer
Connections 6
- Bot developer → Public exports: uses
README.md - Public exports → Bot framework: exports
gramly/__init__.py - Bot developer → Command routes: defines handlers
README.md - Bot framework → Update guards: runs guards
gramly/gramly.py - Bot framework → Callback routes: dispatches callbacks
gramly/gramly.py - Callback routes → Callback data: matches actions
gramly/gramly.py