Re:Show HN: FastAPI: build Python APIs with Go-like speed an...
by timothycrosley on Thursday March 21, 2019 @02:10PM
(#19455465)
Glad 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.
Re:Show HN: FastAPI: build Python APIs with Go-like speed an...
by tomchristie on Friday March 22, 2019 @05:47AM
(#19460880)
Just 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.
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.