3 ms·
It's designed to be very helpful while building web APIs that communicate JSON over HTTP. You can have semi-automatic data validation, serialization (convertin
by tiangolo 8y ago
It's designed to be very helpful while building web APIs that communicate JSON over HTTP.
You can have semi-automatic data validation, serialization (converting from JSON to Python data types, etc). And an automatic web user interface that documents your API. You don't have to do anything to have that web interface, it's done automatically from your definitions of the data types that you need.
It is also compatible with Jinja templates.
It's like a modern Flask with several benefits, especially for web APIs.