Skip to main content

vk_dev

PyPI version Downloads

Localizations:

Info

What true convenience is?

You have a lot of doorways to try amazing python package for developing with API VKontakte. By using the flavor of python this library let you write on readable style without complications when need write fast or when you are at 0 days and refactor your project conveniencly and with idea.

Installation

pip3 install vk_dev

Example

import vk_dev

api = vk_dev.Api(
    token='token',
    group_id=192979547,
    v=5.103
)
lp = api >> vk_dev.LongPoll()

## You can create own decorators
@vk_dev.cond.Path('direct')
@vk_dev.cond.Prefix('/', '.')
@lp.message_new()
async def reaction(event, pl):
    """
    This function will work if
    message was sended to direct and
    starts at `/` or `.`
    """

    ## Send response to the interlocutor
    await api.messages.send(
        peer_id=event.object.message.peer_id,
        message='Hello there',
        random_id=vk_dev.random_id()
    )

if __name__ == '__main__':
    lp()

Documentation

Metadata

Release files for vk-dev 3.0.1

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

Source distribution (sdist)

Source distribution for vk-dev 3.0.1
File Size Uploaded
vk_dev-3.0.1.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vk-dev 3.0.1
File Interpreter ABI Platform
vk_dev-3.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.5 kB

Release files / vk_dev-3.0.1.tar.gz

Download URL vk_dev-3.0.1.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c303a65221f0dcfd9bc6c367ace77fd477dab17dd05d7145ea18c4eaa9212fd0
BLAKE2b-256 checksum
How to use checksums
e77f5b8acc7465fb36bd1d3ac6ea3f282618602d4f284c3b98dd8579cf6570d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / vk_dev-3.0.1-py3-none-any.whl

Download URL vk_dev-3.0.1-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e1d3027efb756052c3882ac8ed74375dd9b04b1809774f91f689cd7a556d81a
BLAKE2b-256 checksum
How to use checksums
76de430bbb5a9209fce6f57cc8dba812b1aa1350437e4d749ad7da576fd311db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files

3.0.0

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

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