Django-flavored scaffolding and management layer around FastAPI, Pydantic, TortoiseORM and Aerich migrations
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ohmyapi-0.5.5.tar.gz.
File metadata
- Download URL: ohmyapi-0.5.5.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.5-zen1-1-zen
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59c1b1594ed2862b8beb474f4fd277fd75c6856519c4ac62ee5c81a953699e64
|
|
| MD5 |
fafa04891795fc36315c560a7fd11deb
|
|
| BLAKE2b-256 |
02567d4ed114a5b1774aaffb297b6b5b33d3fb115c162c12825ca5644af514e7
|
File details
Details for the file ohmyapi-0.5.5-py3-none-any.whl.
File metadata
- Download URL: ohmyapi-0.5.5-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.5-zen1-1-zen
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9379cfc0a2e4ddf1f2817cfabc7ba68b69a702999ce3ed3f3da364adb663c5fb
|
|
| MD5 |
80a56ac56724d2c854830178fe1f5656
|
|
| BLAKE2b-256 |
2129926dc2c2324ffbd48db22171d6e18bf36bd886359d32285ac0dbfd7dc7b1
|