Even easier with FastApi
Auto generates both interactive SwaggerUI and Redoc pages.
Can turn off before production deployment.
Auto generates both interactive SwaggerUI and Redoc pages.
Can turn off before production deployment.
Prior to today if I was starting a python project I probably would reach for PyPy + falcon/flask/django and go until I hit a limitation that required CPython, but with starlette/pydantic I'm more than happy to settle for NodeJS-like performance on CPython. And of course, the OpenAPI/Swagger support is an amazing feature, APIs shouldn't be built without it these days.