Library for creating bots with VK API
Event-based VK bot engine written in Python and designed for work with tricky VK public API workarounds.
VK public API provides convenient event listening methods such as Callback API or Longpoll API, however, those require administrative access to groups/public pages.
kriegbot comes with multiple built-in listeners that are using workarounds for updates detection.
kriegbot is designed to be the core of your bot script and does all the heavy work under the hood — all you need is to initialize it, declare what events you need to track and then just process events.
kriegbot is available on PyPI and is installable with
$ pip install kriegbot
Alternatively, you can build
pip package from sources:
$ git clone https://gitlab.com/kriegvk/kriegbot $ cd kriegbot $ pip install .
A complete and ready-to-use example of a kriegbot-powered VK bot can be found at examples/sample_bot.py
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size kriegbot-0.3a0-py3-none-any.whl (18.6 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size kriegbot-0.3a0.tar.gz (17.6 kB)||File type Source||Python version None||Upload date||Hashes View hashes|