Metadata-Version: 2.1
Name: rocketgram
Version: 3.4.0
Summary: Modern and powerful asynchronous telegram bot framework.
Home-page: https://github.com/rocketgram/rocketgram
Author: Vd
Author-email: vd@vd2.org
License: MIT
Description: # Rocketgram
        
        ![TEST](https://github.com/rocketgram/rocketgram/workflows/TEST/badge.svg)
        
        Modern and powerful asynchronous telegram bot framework.
        
        Release news available here: [@RocketgramNews](https://t.me/RocketgramNews)
        
        ## How to install
        
        #### For development
        
        ```bash
        pip install rocketgram[aiohttp]
        ```
        
        #### For production
        
        ```bash
        pip install rocketgram[aiohttp,ujson]
        ```
        
        ## Dependencies
        
        All dependencies are optional but you should install one of `aiohttp` and `tornado` to use framework.
        
        `ujson` is highly recommended to speedup json parsing.
        
        Also you can use `uvloop` as alternative to standard event loop.
        
        * Python >= 3.7
        * aiohttp >= 3.6.2
        * ujson >= 1.35
        * tornado >= 6.0.2
        * uvloop >= 0.12.1
        
        ## Example
        
        There is a trivial example below.
        [Here](https://github.com/vd2org/rocketgram-template) is useful bot template.
        
        ```python
        from rocketgram import Bot, Dispatcher, UpdatesExecutor
        from rocketgram import context, commonfilters
        from rocketgram import SendMessage
        
        token = 'YOUR_BOT_TOKEN'
        
        router = Dispatcher()
        bot = Bot(token, router=router)
        
        @router.handler
        @commonfilters.command('/start')
        async def start_command():
            await SendMessage(context.user.user_id, 'Hello there!').send()
            
        @router.handler
        @commonfilters.command('/help')
        async def start_command():
            await SendMessage(context.user.user_id, 'Some userful help!').send()
            
        UpdatesExecutor.run(bot)
        ```
        
        # Testing
        
        Code tested automatically using `Github Actions`. 
        You can see build status **[here](https://github.com/rocketgram/rocketgram/actions)**.
        
        To test code manually install and run `pytest`:
        
        ```bash
        pip install pytest
        python -m pytest
        ```
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Environment :: Web Environment
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Internet
Classifier: Topic :: Utilities
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: aiohttp
Provides-Extra: tornado
Provides-Extra: ujson
Provides-Extra: uvloop
