Web APIs in Python
11 projects in Web Development. Most starred: fastapi, grpcio and django-rest-framework.
FastAPI uses type hints and Pydantic models to validate requests, serialize responses and generate OpenAPI documentation automatically. It is async-first and built on Starlette. Inside Django, Django REST framework is the established toolkit, with serializers, viewsets, a browsable API and pluggable authentication and permissions. Django Ninja brings the FastAPI style of type-hinted endpoints and Pydantic schemas to Django, and django-modern-rest is a newer typed, async-capable option.
Django4
Modern REST with speed, types, async, msgspec, pydantic and other goodies.
Flask3
Fully featured framework for fast, easy and documented API development with Flask.
A Flask/Marshmallow-based REST API framework with automatic OpenAPI documentation.
A lightweight Python web API framework based on Flask, supporting marshmallow schemas and Pydantic models.
Framework Agnostic3
A modern, fast, web framework for building APIs with standard Python type hints.
A GraphQL library that leverages Python type annotations for schema definition.
A spec-first framework that handles requests based on your OpenAPI specification.
RPC1
grpcioC++ core
HTTP/2-based RPC framework with Python bindings, built by Google.