Thanks to visit codestin.com
Credit goes to github.com

Skip to content

johnnie-610/pykeyboard

 
 

Repository files navigation

pykeyboard

PyPI Downloads Python Version License

PyKeyboard

Best Keyboard Library for Kurigram

PyKeyboard is a comprehensive Python library for creating beautiful and functional inline and reply keyboards for Telegram bots using Kurigram.

Installation

# Using pip
pip install pykeyboard-kurigram

# Using poetry
poetry add pykeyboard-kurigram

# Using uv
uv add pykeyboard-kurigram

Quick Start

from pykeyboard import InlineKeyboard, InlineButton

# Create a simple inline keyboard
keyboard = InlineKeyboard()
keyboard.add(
    InlineButton("👍 Like", "action:like"),
    InlineButton("👎 Dislike", "action:dislike"),
    InlineButton("📊 Stats", "action:stats")
)

# Use with Kurigram
await message.reply_text("What do you think?", reply_markup=keyboard)

Documentation

For comprehensive documentation, see the docs or check the examples.py file for sequential usage examples.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ for the Telegram bot development community

About

Best Keyboard and Pagination for the Pyrogram Library.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Python 99.6%
  • Nix 0.4%