# Installation

## From PyPI

```bash
pip install aifastdb
```

### Optional Extras

```bash
pip install aifastdb[pandas]    # pandas DataFrame support
pip install aifastdb[numpy]     # numpy array support
pip install aifastdb[all]       # everything
```

## From Source

```bash
# Prerequisites: Rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Clone and build
git clone https://github.com/user/aifastdb.git
cd aifastdb/packages/python

python -m venv .venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
pip install maturin numpy pandas pytest

maturin develop --release
```

## Verify Installation

```python
import aifastdb
print(aifastdb.__version__)
```
