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.4.4.tar.gz (15.1 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.4.4-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ohmyapi-0.4.4.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.1-zen1-1-zen

File hashes

Hashes for ohmyapi-0.4.4.tar.gz
Algorithm Hash digest
SHA256 37da430b54cc7f3af07f285fee281308fff24d935f4228f2a966eaf967a688a7
MD5 f8ffbf8549de4516d6f39ceb85167806
BLAKE2b-256 1fde920f5253a6a90f6da226d05eb37d30f6aa589c8312a8fa7bb7be8ce16ad2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ohmyapi-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.1-zen1-1-zen

File hashes

Hashes for ohmyapi-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 28ebffa6be38184992510cda7ecc9c321d94decfd1b629231c2f13a62a8b90b6
MD5 5c9c9e86a7e60362e71d364ec16e82bb
BLAKE2b-256 4cfff7113a5d8bdb5101d45c76bd37b1d6d7a2c2c617862632849916eb13c411

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