Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.
/ vk.py Public archive

Extremely-fast Python 3.6+ toolkit for create applications work`s with VKAPI. Has bot framework out of-the-box.

License

Notifications You must be signed in to change notification settings

yilbegan/vk.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to vk.py 👋

Version License: MIT Twitter: prostomarkeloff Codacy Badge Build Status

Extremely-fast Python 3.6+ toolkit for create applications work`s with VKAPI.

Install

pip install https://github.com/prostomarkeloff/vk.py/archive/master.zip --upgrade

or (old version)

pip install vk.py

Usage

Simple example

from vk import VK
from vk.utils.task_manager import TaskManager
import logging

logging.basicConfig(level="INFO")
vk = VK(access_token=<TOKEN>)

async def status_get():
    resp = await vk.api_request("status.get")
    print(resp)

if __name__ == "__main__":
    task_manager = TaskManager(vk.loop)
    task_manager.add_task(status_get)
    task_manager.run()

More examples click

Features

  • Rich high-level API.
  • Fully asynchronous. Based on asyncio and aiohttp.
  • Bot framework out of-the-box.
  • Fully typed. Thanks to Pydantic.
  • The fastest.
  • Compatible with PyPy.

Performance

The fastest Python library for access to VKAPI.

  • Accept and handle event from LongPoll API in bot framework (with sending a message to the user): lower than 0.1s
  • Check 100 handlers and execute 100 filters in bot framework (without sending a message to the user): lower than 0.001s

Alternatives

  • Kutana. Bot engine for create bots in Telegram and VK.
  • VKBottle. Bot framework for develop bots in VK.
  • VK_API. Simple library for access to VKAPI.

And many others library`s...

Author

👤 prostomarkeloff

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2019 prostomarkeloff.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

About

Extremely-fast Python 3.6+ toolkit for create applications work`s with VKAPI. Has bot framework out of-the-box.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages