Installation¶
Requirements¶
- Python 3.10 or higher
- One of the supported ORMs: SQLAlchemy, Tortoise, Peewee, Django, or SQLModel
Installing OrmAI¶
Basic Installation¶
With ORM-Specific Extras¶
Install with extras for your preferred ORM:
Using UV (Recommended)¶
If you're using uv as your package manager:
Development Installation¶
For development or contributing:
Optional Dependencies¶
MCP Server Support¶
For Model Context Protocol server integration:
FastAPI Integration¶
For FastAPI integration:
Full Installation¶
Install all optional dependencies:
Verifying Installation¶
Verify your installation by importing OrmAI:
Or check the available quickstart functions:
from ormai.quickstart import mount_sqlalchemy, mount_tortoise, mount_peewee
print("OrmAI installed successfully!")
TypeScript Edition¶
For TypeScript/Node.js projects, see the TypeScript Edition documentation.