Skip to main content

Module for sending to users of Vkontakte communities.

Project description

VK Delivery

Python 3.5 VK API 5.80 GNU GPL

VK Delivery is a script for automatically sending to users of VKontakte communities. The script is written in Python 3 using VK API.


vk> = 2.0


Install this package from pip using pip3 install vkdelivery command.



  • tokens: list of the VK community access tokens (85-digit strings);

  • group_id: your community ID (integer).

vkdelivery.send() method:

  • message: your message for the delivery (string up to 4096 sybmols);

  • dialogs: list of the required users’ IDs (integers).


  • ui: whether to display current progress (boolean).


  • vkdelivery.get()

    • Arguments:

      • tokens (reqiured);

      • group_id (reqiured);

      • ui.

    • Output format: list of the current community’s dialogs ([user_1, user_2, ..., user_n]).

  • vkdelivery.send()

    • Arguments:

      • tokens (reqiured);

      • group_id (reqiured);

      • message (reqiured);

      • dialogs (reqiured);

      • ui.

    • Output format: True expression.

  • vkdelivery.getandsend()

    • Arguments:

      • tokens (reqiured);

      • group_id (reqiured);

      • message (reqiured);

      • ui.

    • Output format: True expression.


  • vk.exceptions.VkAPIError: standard VKontakte error;

  • KeyError: one of arguments is missing or invalid.

  • SystemError: one of arguments is invalid.


Daniil Chizhevskij

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

vkdelivery-0.5.tar.gz (3.1 kB view hashes)

Uploaded Source

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