Skip to main content

A tool to make every script into a VK bot. Better than `every_script_is_a_vk_bot`, because `intobot` can serve multiple users simultaneously.

Project description

intobot

This tool can turn your script into a VK bot. In every script launched with this tool, input and print will work with chats instead of the console. A script is ran one time for every user who writes to the bot. First message from a user starts the script execution and cannot be received from the script.

Installation:

pip install intobot

Use it like this:

python -m intobot -t [token_file_name.txt] [script_name].py

Everything above that is in brackets needs to be filled by you. (Brackets should be omitted.)

When the script ends, the user is not served anymore, so to serve the user infinitely, add an infinite loop to the script. This was made to allow better flexibility and make it as close to console execution of scripts as possible.

Predecessor: every_script_is_a_vk_bot

Project details


Download files

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

Source Distribution

intobot-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

intobot-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file intobot-0.1.1.tar.gz.

File metadata

  • Download URL: intobot-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/4.19.136-perf+

File hashes

Hashes for intobot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ed0596c62110f77cf1fcbe8f9a00a724e7d6d8f6aebabda55b68400ffd58ae88
MD5 b32df893abb9b1ff733b8f994d40863a
BLAKE2b-256 bbeffc58c5f05db20450f24083bd44fe82f94b4bfd59b50aa76abfb668a2e45b

See more details on using hashes here.

File details

Details for the file intobot-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: intobot-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/4.19.136-perf+

File hashes

Hashes for intobot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 05adc305729262b5d2f4310855ffe6acdc8b461975f40cc65d57d7b7e0b28af7
MD5 30cb6b23c841fe80c53779716d7a1ddd
BLAKE2b-256 39dce5e9a70425032a2fe194488558dcc98167fd21b237a6f5005a0e3b8e2b84

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page