4 ms·
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. I
by tiangolo 8y ago
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.
- timothycrosley 8y agoGlad to hear that :)! Honestly, what you've built looks super solid and polished. In many ways, it's what I wanted hug to be - it's really inspiring to see someone build that.
- tiangolo 8y agoWow, thanks! I take it as a high compliment. :D Thanks for paving the way with Hug. And thanks for helping make the Python ecosystem a friendly, and welcoming community.
- tomchristie 8y agoJust wanted to second @tiangolo's "Thanks for paving the way with Hug" - Absolutely yup! It's a lovely bit of interface design - definitely had a really positive impact on the space.