Skip to content

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.5 for the async HTTP layer
  • attrs >=23.1.0,<24 for the (frozen, slotted) models
  • aiofiles >=23.1.0,<24 for 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⚓︎

Bash
python -m pip install -U pokelance
Bash
uv add pokelance
Bash
poetry add pokelance

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())
Text Only
0.2.13

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:

Bash
python -m pip install -U git+https://github.com/FallenDeity/PokeLance.git
Bash
uv add git+https://github.com/FallenDeity/PokeLance.git
Bash
poetry add git+https://github.com/FallenDeity/PokeLance.git
Bash
git clone https://github.com/FallenDeity/PokeLance.git
cd PokeLance
uv sync --all-groups

Comments