Metadata-Version: 2.1
Name: Pyrubrum
Version: 0.1a1.dev0
Summary: An intuitive framework for creating Telegram bots
Home-page: https://github.com/hearot/pyrubrum
Author: Hearot
Author-email: gabriel@hearot.it
License: GPLv3
Project-URL: Tracker, https://github.com/hearot/pyrubrum/issues
Project-URL: Source, https://github.com/hearot/pyrubrum
Description: <p align="center">
            <a href="https://github.com/hearot/pyrubrum">
                <img src="https://i.imgur.com/XhInvbp.gif" alt="Pyrubrum" width="150"/>
            </a>
            <br>
            <b>An intuitive framework for creating Telegram bots.</b>
            <br>
            <i>Create your own bot in less than 100 lines!</i>
            <br>
            <br>
            <a href="https://github.com/hearot/pyrubrum/blob/master/LICENSE">
                <img src="https://img.shields.io/badge/License-GPL%20v3-red.svg" alt="License: GPLv3"/>
            </a>
            •
            <a href="https://t.me/hearot">
                <img src="https://img.shields.io/badge/Developer-@hearot-blue.svg" alt="Developer: @hearot"/>
            </a>
        </p>
        
        ## Pyrubrum
        
        ```python
        from pyrogram import Client
        from pyrubrum import Handler, transform_dict, Menu
        
        bot = Client(...)
        
        handler = Handler(transform_dict(
            {
                Menu("Main", "main", "Hello!"): {
                    Menu("About me", "about_me", "I'm just a bot!"),
                    Menu("Thoughts", "thoughts",
                         "I'm a bot, I cannot think properly...")
                }
            }
        ))
        
        handler.setup(bot)
        bot.run()
        ```
        
        **Pyrubrum** is a versatile, charming framework for creating [Telegram](https://telegram.org) [bots](https://core.telegram.org/bots), jointly with [Pyrogram](https://github.com/pyrogram/pyrogram).
        
        ### Examples
        
        In order to make use of the proposed examples, you need to create your own environment file by renaming [sample.env](./examples/sample.env) into `.env` and editing all the necessary variables.
        
           - [Calendar](./examples/calendar_bot.py) - Get what day of the week a day is by simply choosing a year, a month and a day while discovering the potential of Pyrubrum page menus.
           - [Sample](./examples/sample_bot.py) - Interact with inline menus while understanding how Pyrubrum works.
        
        ### Commit messages
        
        This project makes use of the [Conventional Commits](https://www.conventionalcommits.org) specification.
        
        ### Copyright & License
        
        - Copyright (C) 2020 [Hearot](https://github.com/hearot)
        - Licensed under the terms of the [GNU General Public License v3 (GPLv3)](./LICENSE)
        
Keywords: bot bots chat messenger mtproto pyrogram python telegram
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet
Classifier: Topic :: Communications
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Typing :: Typed
Requires-Python: >=3.6.*
Description-Content-Type: text/markdown
Provides-Extra: fast
