Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ohmyapi-0.5.6.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ohmyapi-0.5.6-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file ohmyapi-0.5.6.tar.gz.

File metadata

  • Download URL: ohmyapi-0.5.6.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

Hashes for ohmyapi-0.5.6.tar.gz
Algorithm Hash digest
SHA256 e6e497b12cec379c90742f5ab202fdbc1dac5beb85eee3bcadf5784b077e16ac
MD5 93423c900c55ef7351a6590c943e025e
BLAKE2b-256 ed14b6cf23bbe11797e49ab1d0da2113335d6975226f93f55f7e4af8eb5bf566

See more details on using hashes here.

File details

Details for the file ohmyapi-0.5.6-py3-none-any.whl.

File metadata

  • Download URL: ohmyapi-0.5.6-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

Hashes for ohmyapi-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6dacc89f2bf7a96c7da24d406a2b09768c0c791fbdcf26c432739d37d48be815
MD5 f53e89136bae1df22e852a119ec6e28b
BLAKE2b-256 8f0eaa41379cd70bccab8fdaffdd61e8ad3713f119f30c9c3c81c0eaba1fbce2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page