Comparison
Pyrogram vs python-telegram-bot vs telebot 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 pyrogramWe 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-botA Telegram bot library, with simple route decorators.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install telebotFull-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.
- telebot is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- python-telegram-bot is the most used: 7.4M downloads a month, 1.7× more than Telethon.
- Maintenance is comparable: 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 | python-telegram-bot | telebot | Telethon |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 3 | 77 |