vka
инструмент для создания ботов для ВКонтакте на Python
Модуль сделана по основам vk_api и vkquick
Установка
pip install vka
Полезная информация
- Информация о API
- Информация о vka
from vka import API
import asyncio
async def main():
api = API(token='token')
await api.async_init() # открывает сессию для работы, без этого не работает
# Есть два варианта обращение к API методам отличие лишь в написание
# первый вариант
users_get = await api.method('users.get', {'user_ids': 1})
# второй вариант
users_get = api.users.get(user_ids=1)
# обязательно нужно закрыть сессию иначе будет вылезать ошибка о не закрытой сессию
await api.close()
asyncio.run(main())
Metadata
Release files for vka 1.2.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vka-1.2.31.tar.gz | 27.9 kB | Without provenance | Details for vka-1.2.31.tar.gz |
Release files / vka-1.2.31.tar.gz
| Download URL | vka-1.2.31.tar.gz |
|---|---|
| Size | 27.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a6989c1bc3894484fe848d7fdd85e83c4e8ec0b310bf85a15d0e5447c8e4f23
|
|
BLAKE2b-256 checksum How to use checksums |
0c3b4910268d9aa7b932200c010196677c4b12f0338e33189677128c66f4ed2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.0
|
Security for vka 1.2.31
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.