Metadata-Version: 2.4
Name: projectdavid-orm
Version: 1.3.0
Summary: Shared SQLAlchemy ORM models for ProjectDavid services
Author-email: "Francis N." <francis.neequaye@projectdavid.co.uk>
License: Polyform
Project-URL: Homepage, https://github.com/project-david-ai/projectdavid-orm
Keywords: orm,sqlalchemy,models,projectdavid,internal
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: sqlalchemy>=2.0
Requires-Dist: pymysql
Requires-Dist: pydantic>=2.0
Requires-Dist: python-dotenv
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: isort; extra == "dev"
Dynamic: license-file

# projectdavid-orm

Shared SQLAlchemy ORM models and database utilities for the ProjectDavid platform.

Provides a single source of truth for all database models used across ProjectDavid microservices, eliminating duplication between the core API, training service, and any future services that require direct database access.

---

## Overview

ProjectDavid is a self-hosted, multi-provider LLM runtime API. As the platform grows into multiple microservices (inference API, training API, sandbox, etc.), each service needs access to the same database schema. Rather than duplicating model definitions or making inter-service HTTP calls just to read data, `projectdavid-orm` exposes the full SQLAlchemy model layer as a shared, versioned package.

Any service that needs direct DB access simply installs this package and imports the models it needs.

---
## Installation
```bash
pip install projectdavid-orm
