Metadata-Version: 2.4
Name: ohmyapi
Version: 0.6.2
Summary: Django-flavored scaffolding and management layer around FastAPI, Pydantic, TortoiseORM and Aerich migrations
License-Expression: MIT
Keywords: fastapi,tortoise,orm,pydantic,async,web-framework
Author: Brian Wiborg
Author-email: me@brianwib.org
Requires-Python: >=3.11
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Provides-Extra: auth
Requires-Dist: aerich (>=0.9.1,<0.10.0)
Requires-Dist: argon2-cffi (>=25.1.0,<26.0.0)
Requires-Dist: argon2-cffi ; extra == "auth"
Requires-Dist: crypto (>=1.4.1,<2.0.0)
Requires-Dist: crypto ; extra == "auth"
Requires-Dist: fastapi (>=0.117.1,<0.118.0)
Requires-Dist: ipython (>=9.5.0,<10.0.0)
Requires-Dist: jinja2 (>=3.1.6,<4.0.0)
Requires-Dist: passlib (>=1.7.4,<2.0.0)
Requires-Dist: passlib ; extra == "auth"
Requires-Dist: pyjwt (>=2.10.1,<3.0.0)
Requires-Dist: pyjwt ; extra == "auth"
Requires-Dist: python-multipart (>=0.0.20,<0.0.21)
Requires-Dist: python-multipart ; extra == "auth"
Requires-Dist: tortoise-orm (>=0.25.1,<0.26.0)
Requires-Dist: typer (>=0.19.1,<0.20.0)
Requires-Dist: uvicorn (>=0.36.0,<0.37.0)
Project-URL: Repository, https://code.c-base.org/baccenfutter/ohmyapi
Description-Content-Type: text/markdown

# 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/](http://localhost:8000/)

