Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

StyledBots 🚀

Modern, clean & powerful Telegram Bot library
Better than / equal to Telebot • Perfect for Pydroid 3


Installation

For everyone (including Pydroid 3):

pip install styledbots

That's it!


Quick Start

from styledbots import Bot, Style, InlineKeyboard

bot = Bot("YOUR_BOT_TOKEN")

@bot.command("start")
def start(message):
    kb = InlineKeyboard()
    kb.button("Click me", "btn1")
    kb.button("Google", url="https://google.com")

    text = f"Hello {Style.bold(message.from_user.first_name)}!"
    bot.reply_to(message, text, reply_markup=kb)

@bot.callback_query_handler(func=lambda c: c.data == "btn1")
def button_handler(call):
    call.answer("You clicked!", show_alert=True)

bot.infinity_polling()

Features

  • Simple & clean API (Telebot-compatible)
  • Beautiful Style helpers (bold, italic, spoiler, code, etc.)
  • Fluent Inline & Reply Keyboards
  • Powerful filters system
  • Middleware support
  • Simple storage (Memory + File)
  • Lightweight (only requests)
  • Fully synchronous → works great on Android / Pydroid 3
  • Type hints & clean structure

Style Helpers

from styledbots import Style

Style.bold("text")
Style.italic("text")
Style.underline("text")
Style.strike("text")
Style.code("code")
Style.pre("code block", "python")
Style.spoiler("hidden")
Style.link("Click", "https://...")
Style.mention(user_id, "Name")

Keyboards

from styledbots import InlineKeyboard, ReplyKeyboard

# Inline
kb = InlineKeyboard()
kb.button("Yes", "yes").button("No", "no")
kb.row()
kb.button("Cancel", "cancel")

# Reply
rkb = ReplyKeyboard()
rkb.row("Option 1", "Option 2")
rkb.row("Back")

Why StyledBots?

Feature Telebot StyledBots
Ease of use Excellent Excellent
Styling helpers No Yes
Fluent keyboards Manual Yes
Middleware Limited Yes
Storage helpers No Yes
Pydroid 3 ready Yes Yes
Clean structure Medium Excellent

Made with ❤️ for Pydroid 3 users and Telegram bot developers.

Metadata

Release files for styledbots 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for styledbots 1.0.0
File Size Uploaded
styledbots-1.0.0.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for styledbots 1.0.0
File Interpreter ABI Platform
styledbots-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.0 kB

Release files / styledbots-1.0.0.tar.gz

Download URL styledbots-1.0.0.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c723a71cd7cb94db9bff6df4e1077f034d02129095bcc9afbad4a5e5c51e692
BLAKE2b-256 checksum
How to use checksums
60db839bfda749003ef2937684524ab4a4580dff00afa2258e99eed4275650ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / styledbots-1.0.0-py3-none-any.whl

Download URL styledbots-1.0.0-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa14ae2dde27b5c93dfbf1ced350c428b02654d5f5e82da7f031bee1fbba3891
BLAKE2b-256 checksum
How to use checksums
c41ed66ed1831e7339a2705b600d1226d98b1f579f7ea7f724fa9b874b217db1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page