Metadata-Version: 2.0
Name: python-kakaobot
Version: 0.0.2
Summary: Super simple framework for Kakaotalk auto-reply bot based on aiohttp
Home-page: https://github.com/hallazzang/kakaobot
Author: Hanjun Kim
Author-email: hallazzang@gmail.com
License: MIT
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.5
Requires-Dist: aiohttp (>=2.3.6)

========
kakaobot
========

Super simple framework for Kakaotalk auto-reply bot based on aiohttp

Example
-------

From ``examples/simple_echo.py``:

.. code:: python

    from kakaobot import KakaoBot

    bot = KakaoBot()

    @bot.on_message
    async def handle_message(message, **args):
        if args['type'] == 'text':
            return 'Echoing: %s' % message
        else:
            return 'Cannot understand'

    if __name__ == '__main__':
        bot.run(host='0.0.0.0', port=8080)

Nice, isn't it?

Why not Flask or Django?
------------------------

Because setting up full Flask/Django development environment is a bit of pain,
especially for this kind of tiny application with no front-end view.
It is well-known using default development server for Flask/Django is not the way
you run your web application. But in aiohttp, it is. That's why I chose aiohttp.



