Flexytg is a lightweight Python module for converting Telegram session files between popular client libraries such as Telethon, Pyrogram, and Hydrogram.
Whether you're migrating bots or working across multiple frameworks, Flexytg makes it easy to work with different session formats — all in one place.
- Convert sessions between:
- Telethon ↔ Pyrogram
- Hydrogram, GoGram, and others
- Supports both string sessions and SQL sessions
- Create new sessions with API ID and hash
- Analyze existing session types
- Ready-to-use examples included
pip install flexytg