Skip to main content

Event based VK bot core

Project description

kriegcore

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.

kriegcore comes with multiple built-in listeners that are using workarounds for content update detection.

Quick start

kriegcore 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

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

$ pip install kriegcore

Alternatively, you can build pip package from sources:

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

Usage

A complete and ready-to-use example of a kriegcore-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 kriegcore, version 0.5a1
Filename, size File type Python version Upload date Hashes
Filename, size kriegcore-0.5a1-py3-none-any.whl (19.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kriegcore-0.5a1.tar.gz (17.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page