Yep, and Hug was one of the first tools I saw with this style of declaring parameters with types in the functions, along with APIStar.
Great job! And thanks. It helped inspiring the creation of FastAPI. Apart from other of your tools that I use all the time, like isort.
An advantage I see of Hug: the same Hug application can be a CLI app.
A couple advantages I would see of FastAPI (disclaimer, I'm the creator :) ):
* The API schema uses the standards OpenAPI and JSON Schema
* It includes a couple of interactive API documentation web user interfaces (Swagger UI, and ReDoc). Thanks to being OpenAPI.
* It uses standard Python type hints, not custom types included as part of the library.
* The dependency injection system.
* Websockets.