Skip to main content

The engine for developing bots for social networks, instant messengers and other systems.

Project description


Kutana logo

Documentation Status Build Status CodeFactor Codacy Badge Coverage Status Codebeat Badge PyPI version

English | Русский

The engine for developing bots for social networks, instant messengers and other systems.

Nice foundation for bot using kutana engine - kubot.


python -m pip install kutana


  • Create Kutana application and add managers.
  • Register your plugins in the executor. You can import plugin from folders with function load_plugins. Files should be a valid python modules with available plugin field with your plugin (Plugin) or field plugins with list of instances of Plugin class.
  • Start application.


Token for VKManager is loaded from the file "configuration.json" and plugins are loaded from folder "plugins/"

from kutana import *

# Load configuration
with open("configuration.json") as fh:
    config = json.load(fh)

# Create application
app = Kutana()

# Create and add VKManager to application

# Load and register plugins

# Run application

Example plugin (plugins/

from kutana import Plugin

plugin = Plugin(name="Echo")

async def on_echo(message, env):
    await env.reply("{}".format(env.body))

Available managers

  • VKManager (for groups)
  • TGManager (for
    • document's type is named doc inside of Kutana.
    • TGAttachmentTemp is used for storing attachments before sending them with send_message or reply. Attachments can't be uploaded other way.
    • If you want to download file (attachment) from telegram, you have to use TGEnvironment.get_file_from_attachment.


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 kutana, version 3.0.0
Filename, size File type Python version Upload date Hashes
Filename, size kutana-3.0.0-py3-none-any.whl (24.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kutana-3.0.0.tar.gz (26.2 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