Requirements
Prerequisites
1/2 complete
- Python 3.14+ installed
- No runtime dependencies (pure Python)
Install
uv add kida-templates
pip install kida-templates
git clone https://github.com/lbliii/kida.git
cd kida
pip install -e .
Or with uv:
git clone https://github.com/lbliii/kida.git
cd kida
uv sync
Verify Installation
import kida
print(kida.__version__) # 0.2.2
Or from the command line:
python -c "import kida; print(kida.__version__)"
Python 3.14t (Free-Threading)
Kida is optimized for Python 3.14t with free-threading enabled (PEP 703). To use free-threading:
from concurrent.futures import ThreadPoolExecutor
from kida import Environment
env = Environment()
template = env.from_string("Hello, {{ name }}!")
# On 3.14t, this runs with true parallelism (no GIL)
with ThreadPoolExecutor(max_workers=4) as executor:
results = list(executor.map(
lambda n: template.render(name=n),
["Alice", "Bob", "Charlie", "Diana"]
))
See Thread Safety for details on Kida's free-threading support.