Metadata-Version: 2.3
Name: django-orm-for-fastapi
Version: 0.1.2
Summary: 
Home-page: https://github.com/pkrefta/django-orm-for-fastapi
Author: Pawel Krefta
Author-email: pawel.krefta@gmail.com
Requires-Python: >=3.12
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: django (>=5.2.4,<6.0.0)
Requires-Dist: fastapi (>=0.116.0,<0.117.0)
Project-URL: Issues, https://github.com/pkrefta/django-orm-for-fastapi/issues
Project-URL: Repository, https://github.com/pkrefta/django-orm-for-fastapi.git
Description-Content-Type: text/markdown

# Django ORM for FastAPI

This project aim is provide easy integration of Django's ORM into FastAPI applications.

## Currently implemented

- Ability to configure single database connection
- Ability to define Django models and use them in FastAPI endpoints
- Simple endpoint decorator for closing unused connections
- Utilities 
  - Function that will create model's tables
  - Function that will delete model's tables
- Test utils
  - Function that will create test database 
  - Function that will tear-down test database
  - Function that will flush test database tables

## Todo

- Migrations
- Support for multiple databases
- Transactional test utilities (so `flush`ing won't be needed)
- Tests

