APIFairy VS django-ninja

Compare APIFairy vs django-ninja and see what are their differences.

APIFairy

A minimalistic API framework built on top of Flask, Marshmallow and friends. (by miguelgrinberg)

django-ninja

💨 Fast, Async-ready, Openapi, type hints based framework for building APIs (by vitalik)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
APIFairy django-ninja
4 71
318 6,350
- -
5.3 9.0
24 days ago 7 days ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

APIFairy

Posts with mentions or reviews of APIFairy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-02.
  • Flaks REST API lib
    1 project | /r/flask | 2 Aug 2022
    I just cut the 1.0 release of my APIFairy extension today. Maybe that works for you? https://github.com/miguelgrinberg/APIFairy
  • APIFairy: Automatic OpenAPI Documentation for Flask APIs
    2 projects | /r/Python | 2 Aug 2022
    1 project | news.ycombinator.com | 2 Aug 2022
  • The Flask Mega-Tutorial
    9 projects | news.ycombinator.com | 30 May 2022
    Not sure what you mean by "ignoring async". If you write your handlers as regular functions, I would imagine FastAPI is going to send them to run in an executor. So all the concurrency benefits of FastAPI go down the drain, and now your concurrency is based on threads.

    As far as Swagger integration, you can use APIFairy with Flask and get similar type of auto-generated docs. Disclaimer, APIFairy is an extension that I created: https://github.com/miguelgrinberg/APIFairy

django-ninja

Posts with mentions or reviews of django-ninja. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-07.

What are some alternatives?

When comparing APIFairy and django-ninja you can also consider the following projects:

flask-smorest - DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

flask-tables - Beautiful Interactive tables in your Flask templates.

django-rest-framework - Web APIs for Django. 🎸

microblog - The microblogging application developed in my Flask Mega-Tutorial series. This version maps to the 2024 Edition of the tutorial.

fastapi-admin - A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin

jsonify - UI wrapper for flask's jsonify

drf-spectacular - Sane and flexible OpenAPI 3 schema generation for Django REST framework.

FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project

openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

flask-mvc-boilerplate - Flask boilerlate in MVC format

cookiecutter-django - Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.