Installation⚓︎
PokeLance targets Python 3.9+ and ships with full inline type hints (py.typed), so your
type checker picks up the API surface immediately after install, no stub packages
required.
Requirements⚓︎
- Python
>=3.9,<4 aiohttp>=3.13.5for the async HTTP layerattrs>=23.1.0,<24for the (frozen, slotted) modelsaiofiles>=23.1.0,<24for non-blocking disk cache I/O
These are the only runtime dependencies. PokeLance intentionally keeps its footprint small so it drops cleanly into bots, web services, and scripts alike.
Install from PyPI⚓︎
Verifying the install⚓︎
Python
import subprocess
print(subprocess.run(["uv", "run", "python", "-c", "import pokelance; print(pokelance.__version__)"], capture_output=True, text=True).stdout.strip())
If that prints a version string, you're ready for the Quickstart.
Installing from source⚓︎
Useful if you want the bleeding-edge master branch or plan to contribute: