skillfed

telebot

A Telegram bot library, with simple route decorators.

telebot v0.0.5 237.0K downloads/30d#8,967 on PyPI53
Permissive license MIT Abandoned released

What it is and what it does

Telebot is a lightweight Telegram bot framework that layers route-based message handling on top of pyTelegramBotAPI. It lets you define bot behavior using decorators that match incoming messages against regex patterns, similar to web frameworks. When a message matches a route, the decorated function receives the message object and any captured groups from the pattern.

The package is designed for simple bots that respond to commands and echo messages. It handles polling for updates from Telegram and dispatching them to the appropriate handler. However, the project is abandoned—the last commit was 2023-04-26 and it remains in Pre-Alpha status, meaning it was never considered feature-complete and has received no maintenance.

Use it for:

  • Building a simple Telegram bot that responds to specific commands using route patterns without writing polling logic.
  • Prototyping a Telegram bot with decorator-based message routing during early development.
  • Creating a bot that echoes or transforms user messages based on regex-matched patterns.
  • Learning Telegram bot development with a lightweight routing abstraction over pyTelegramBotAPI.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Telegram bot library with route-based message handling that wraps pyTelegramBotAPI and provides decorator-style command routing for building simple bots.

No. The package is abandoned and in Pre-Alpha, with no updates since 2023-04-26. While install friction is low and the MIT license is permissive, the lack of maintenance means it will not receive bug fixes or compatibility updates as Telegram's API evolves. For new projects, use an actively maintained Telegram bot library instead.

Install

telebot on PyPI

pip

pip install telebot

uv

uv add telebot

poetry

poetry add telebot

Installing telebot

Before you install

Low install friction with only two runtime dependencies (pyTelegramBotAPI and requests). However, the package is abandoned—last commit was 2023-04-26 and receives no updates. Pre-Alpha status signals incomplete development.

License in practice

MIT license is permissive and places no restrictions on use, modification, or distribution for commercial or private projects.

Quickstart

pip install telebot

from telebot import TeleBot

app = TeleBot(__name__)
app.config['api_key'] = 'your_bot_key'

@app.route('/command ?(.*)')
def example_command(message, cmd):
    app.send_message(message['chat']['id'], f"Command: {cmd}")

app.poll(debug=True)

Requires a valid Telegram bot API key; package is abandoned and may not work with current Telegram API.

Verify before relying

  • Whether the package remains compatible with current Telegram Bot API endpoints.
  • Whether pyTelegramBotAPI dependency versions are pinned or if breaking changes affect telebot.
  • Active maintenance status of the underlying pyTelegramBotAPI library.

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — pyTelegramBotAPI, requests
Maintenance abandoned — 1,277 days since the last release
Last repo commit
First released
Downloads 237,045/month — #8,967 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: telebot-0.0.5-py3-none-any.whl

Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

telegram bot librarytelegram bot routingtelegram message handlerbot command decoratorstelegram bot framework
telegram-botabandoned

More Internet packages