Django-flavored web-application scaffolding and management layer around FastAPI, TortoiseORM, Aerich migrations and Pydantic, packaged neatly via Poetry
Find a file
2025-10-25 11:17:05 +02:00
docs ✏️ Fix typo 2025-10-11 13:12:48 +02:00
src/ohmyapi 🐛 Fix /auth/refresh 2025-10-25 11:17:05 +02:00
tests 🎉 Let's go! 2025-09-27 00:39:33 +02:00
.gitignore 🎉 Let's go! 2025-09-27 00:39:33 +02:00
mkdocs.yml 📝 Add builtin section; add ohmyapi_auth docs 2025-10-02 02:05:25 +02:00
poetry.lock ⬆️ Upgrade all deps 2025-10-02 03:02:44 +02:00
pyproject.toml 🔖 0.5.2 2025-10-22 11:26:50 +02:00
README.md 📝 Small improvements 2025-10-08 12:54:42 +02:00

OhMyAPI

OhMyAPI is a web-application scaffolding framework and management layer built around FastAPI. It is a thin layer that tightly integrates TortoiseORM and Aerich migrations.

Think: "Django RestFramework", but less clunky and instead 100% async.

It is blazingly fast, extremely fun to use and comes with batteries included!

Features

  • Django-like project structure and application directories
  • Django-like per-app migrations (makemigrations & migrate) via Aerich
  • Django-like CLI tooling (startproject, startapp, shell, serve, etc)
  • Customizable pydantic model serializer built-in
  • Various optional built-in apps you can hook into your project (i.e. authentication and more)
  • Highly configurable and customizable
  • 100% async

Goals

  • combine FastAPI, TortoiseORM, Aerich migrations and Pydantic into a high-productivity web-application framework
  • tie everything neatly together into a concise and straight-forward API
  • AVOID adding any abstractions on top, unless they make things extremely convenient

Installation

pipx install ohmyapi

Docs

See docs/ or:

poetry run mkdocs serve

Go to: http://localhost:8000/