Skip to main content

Library for creating bots with VK API

Project description

kriegbot

Event-based VK bot engine written in Python and designed for work with tricky VK public API workarounds.

Feature highlights

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.

Quick start

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.

Installation

kriegbot is available on PyPI and is installable with pip install:

$ pip install kriegbot

Alternatively, you can build pip package from sources:

$ git clone https://gitlab.com/kriegvk/kriegbot
$ cd kriegbot
$ pip install .

Usage

A complete and ready-to-use example of a kriegbot-powered VK bot can be found at examples/sample_bot.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kriegbot, version 0.3a0
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

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page