Skip to main content

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.

Dependencies

vk> = 2.0

Usage

Install this package from pip using pip3 install vkdelivery command.

Arguments

Required:

  • 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).

Additional:

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

Methods

  • 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.

Errors

  • vk.exceptions.VkAPIError: standard VKontakte error;

  • KeyError: one of arguments is missing or invalid.

  • SystemError: one of arguments is invalid.

Contacts

Daniil Chizhevskij

Metadata

Release files for vkdelivery 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vkdelivery 0.5
File Size Uploaded Provenance Actions
vkdelivery-0.5.tar.gz 3.1 kB Without provenance Details for vkdelivery-0.5.tar.gz

Release files / vkdelivery-0.5.tar.gz

Download URL vkdelivery-0.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b414871793c2ab4996f999d2e57ccbd1022dbf68b04324306ce1999d877d7631
BLAKE2b-256 checksum
How to use checksums
91661c0736a1b4da9445cb71b3ed816f4a687d31abdf303ab9d1ded3c6d21cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.12

Security for vkdelivery 0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page