Skip to content
python

Async API core —Python KBVE

An API layer and complexity handler for async HTTP, WebSocket, gRPC, and broadcasting. It provides the shared core that other KBVE Python packages (such as Fudster) build on, plus opt-in tooling for ARPG sprite baking, OSRS item-corpus analysis, and whole-site SEO/SEM auditing.

Core deps

Built on pydantic, aiohttp, fastapi, uvicorn, grpcio, and protobuf — the shared async foundation the rest of the KBVE Python stack reuses.

  • PyPIkbve, Python >=3.12,<3.14.
  • Extras — sprite, osrs, seo (opt-in).
kbvePackage
Python 3.12+Language
HTTP · WS · gRPCServes
MITLicense

What it gives you

Features

Async API core

Modules spanning api, grpc, proto, server, and health for HTTP, WebSocket, gRPC, and broadcasting.

Sprite toolchain

Extra sprite — kbve.sprite.* scripts (skin-variant, sprite-postprocess, ship-footprint) for ARPG sprite baking; adds Pillow and numpy.

OSRS corpus tooling

Extra osrs — kbve.osrs.* survey/audit/family scripts for OSRS item pages, including canonical-page collapse and the axum-kbve 301 table.

SEO/SEM auditor

Extra seo — kbve.seo.* static frontmatter and MDX analysis for the whole site.

Get started

Usage

install & dev
pip install kbve

# development inside the KBVE monorepo
pnpm nx test python-kbve
pnpm nx lint python-kbve
pnpm nx build python-kbve

Questions

Frequently asked

What is the kbve Python library?

kbve is an API layer and complexity handler for async HTTP, WebSocket, gRPC, and broadcasting. It provides the core modules that packages like fudster build on, spanning api, grpc, proto, server, and health.

How do I install the kbve Python package?

Install it from PyPI with pip install kbve. It requires Python 3.12 or newer and depends on pydantic, aiohttp, fastapi, uvicorn, grpcio, and protobuf.

What optional extras does kbve provide?

kbve ships opt-in extras kept off the core install — sprite for the ARPG sprite-baking toolchain (Pillow, numpy), osrs for OSRS item-corpus analysis, and seo for the whole-site SEO/SEM auditor — each enabled with uv sync --extra.