Installation¶
Requirements¶
- Python 3.11+
- An async database driver (pick one based on your database)
Install Buraq¶
Install a Database Driver¶
Buraq uses SQLAlchemy's async engine. Install the driver that matches your database:
Optional Extras¶
# Memcached cache backend
uv add aiomcache
# Redis cache backend
uv add "redis[hiredis]"
# Production server
uv add "buraq[production]" # installs gunicorn + whitenoise
Verify Installation¶
Create Your First Project¶
buraq startproject myproject
cd myproject
uv sync
python manage.py migrate
python manage.py runserver
Tip
python manage.py runserver auto-detects the .venv in your project folder and uses it — no manual activation needed.