{"repo":"torrua/keyboa","free":true,"listed":false,"github":"https://github.com/torrua/keyboa","clone":"git clone https://github.com/torrua/keyboa.git","description":"Keyboa is a project designed to simplify Telegram keyboards creation.","language":"Python","stars":52,"topics":["bot","inline","keyboard","lists","generate","telegram","python","hacktoberfest"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Keyboa This is a simple but flexible inline keyboard generator that works as an add-on to PyTelegramBotAPI package. With keyboa you can: - quickly create buttons with complex callback, - create keyboards directly from lists, - easily combine multiple keyboards into one, - many other cool things... 📖 This guide applies to Keyboa version 3 and above. If you are using Keyboa version 2 and below, please use The guide for version 2. 📌 IMPORTANT NOTICE : Version 3 isn't compatible with version 2. If decide to update from 2 to 3 version, be aware that you will need to adjust your code. Installation Keyboa is compatible with Python 3.7 and higher. You can install this package with pip as usual: After that, just import: Quick Start A minimal keyboard The simplest telegram keyboard can be created like this: A simple structured keyboard If you need to create a keyboard with a predefined structure, do the following: That's a good start, but let's take a closer look at how it works and what additional features we can use. How it works The class provides two options for creating pyTelegramBotAPI compatible keyboards with type: method and property . Use the Keyboa class description below as a reference to understand the nuances and limitations of the module or see the following examples. Create keyboards The easiest way to create a keyboard is to init Keyboa object with a list of items and get property. By default, each item in the list becomes a separate row, but it's easy to change by c","default_branch":null,"files":null,"tree":[],"storefront":"/r/torrua","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/torrua/keyboa/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}