vkbottle-types
VK API methods & types for vkbottle.
What it is and what it does
vkbottle-types is a type-definition library that mirrors the VK API schema for use with the vkbottle bot framework. It provides Pydantic-based type hints and method signatures for VKontakte API calls, enabling static type checking and IDE autocompletion when building VK bots and applications. The package is generated from the official VK API schema and includes a patching mechanism to work around inconsistencies in the upstream schema.
The library depends on msgspec for serialization, pydantic for validation, and typing-extensions for compatibility across Python versions 3.10–3.14. It is maintained actively and designed to be kept in sync with VK API updates, though bug reports and patches are directed to the main vkbottle repository.
Use it for:
- Building a VK bot with full type safety and IDE autocompletion for API method calls and response objects.
- Validating VK API responses against the official schema using Pydantic models before processing.
- Generating type stubs for VK API interactions in a larger application that uses vkbottle.
- Ensuring compatibility with current VK API versions by using up-to-date method and object definitions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type definitions and API method signatures for the VK API, designed for use with the vkbottle framework to enable type-checked interactions with VKontakte services.
Yes, if you are building with vkbottle. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and provides essential type safety for VK API development. Install friction is low and dependencies are standard. Only skip it if you are not using vkbottle or do not need type hints for VK API calls.
Install
vkbottle-types on PyPI
pip
pip install vkbottle-typesuv
uv add vkbottle-typespoetry
poetry add vkbottle-typesInstalling vkbottle-types
Before you install
Low install friction with a pure-Python wheel distribution. Maintained actively with a recent release within the past 73 days. Depends on msgspec, pydantic, typing-extensions, and vkbottle—all standard, well-maintained libraries.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
Quickstart
pip install vkbottle-types
from vkbottle_types import methods, objects
# Use type definitions in vkbottle bot code
bot = vkbottle.Bot(token="...")
# Type hints now available for VK API calls
Requires Python 3.10 or later (supports up to 3.14); vkbottle must be installed separately as a runtime dependency.
Verify before relying
- Whether the package tracks the official VK API schema automatically or requires manual updates when VK releases breaking changes.
- Coverage of all current VK API methods and objects, or which parts of the API may have incomplete type definitions.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — msgspec, pydantic, typing-extensions, vkbottle |
| Maintenance | actively maintained — 73 days since the last release |
| First released | |
| Downloads | 356,760/month — #7,279 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: vkbottle_types-5.199.99.21-py3-none-any.whl
Keywords: bottle methods, bottle objects, bottle types, framework types, types, types bottle, vk api, vk methods, vk objects, vkbottle, vkbottle methods, vkbottle objects, vkontakte
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
vk-apiPython wrapper for the VKontakte (VK) social…
permissive · top 15,000 on PyPI
benchling-sdkA typed Python SDK for interacting with the…
permissive · top 15,000 on PyPI
knockapiProvides a typed Python client library for the…
permissive · top 5,000 on PyPI
application-propertiesLoads and retrieves application configuration…
permissive · top 5,000 on PyPI
undictifyEnforces type annotations at runtime by…
permissive · top 15,000 on PyPI
truelayer-signingProduces and verifies cryptographic signatures…
permissive · top 15,000 on PyPI
ed25519-blake2b-forkProvides Python bindings to Ed25519 digital…
permissive · top 15,000 on PyPI
webargswebargs parses and validates HTTP request…
permissive · top 5,000 on PyPI
signedjsonSigns and verifies JSON objects using ED25519…
unclear · top 15,000 on PyPI
application-file-scannerSpecifies which files an application should…
permissive · top 5,000 on PyPI