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, TortoiseORM and Aerich migrations.

Think: Django RestFramework, but less clunky and 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
  • 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.2.7.tar.gz (12.8 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.2.7-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ohmyapi-0.2.7.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.13.7 Linux/6.16.8-zen3-1-zen

File hashes

Hashes for ohmyapi-0.2.7.tar.gz
Algorithm Hash digest
SHA256 adea334a1f13d8dd553f8c46970c9afa9a712af5af4ec54e19eb1759a42bd136
MD5 16b20ab6daf9cace3a98c2bdfb9b78e4
BLAKE2b-256 69d895cfca04b0c18b3e8ce7624dd7f7971ea50950fd4c297f84866de904b069

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ohmyapi-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.13.7 Linux/6.16.8-zen3-1-zen

File hashes

Hashes for ohmyapi-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7a5db4f1e5b7d24afe9e0c926f31efacddf9c7a0e640643df50f9416c8225606
MD5 360666c146f32efe0a616a6842cef791
BLAKE2b-256 c02b77580fff3b8fdb50b7283fe479bc4a19d42e06fadc5aede47517c54c4e48

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