Comparison
Pyrogram vs pyTelegramBotAPI vs python-telegram-bot vs Telethon
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
Archived. The repository is read-only: no more fixes or releases will come.
pip install pyrogramPython Telegram bot API.
Actively maintained. Last release 6 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
pip install pytelegrambotapiWe have made you a wrapper you can't refuse
Actively maintained. Last release 6 months ago, commits in 23 of the last 26 weeks. A safe choice.
pip install python-telegram-botFull-featured Telegram client library for Python 3
Actively maintained. Last release 13 days ago. A safe choice.
pip install telethonIn short
- Pyrogram is archived: avoid it for new projects.
- python-telegram-bot is the most used: 7.4M downloads a month, 1.7× more than Telethon.
- Maintenance is comparable: pyTelegramBotAPI 85, Telethon 84, python-telegram-bot 77 on Pythie’s Index.
- Telethon is growing fastest: downloads +19% over the last month.
- Safe default for a new project: python-telegram-bot.
Side by side
| Metric | Pyrogram | pyTelegramBotAPI | python-telegram-bot | Telethon |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 3 | 85 |