4 ms·
If you're interested in web dev take a look at FastAPI. In many respects it's a better Flask and leverages schemas for your requests and responses (Pydantic mod
by tjpnz 4y ago
If you're interested in web dev take a look at FastAPI. In many respects it's a better Flask and leverages schemas for your requests and responses (Pydantic models), async processing and dependency injection. I wouldn't call it advanced but it incorporates features of what some refer to as "modern" Python. As someone who's been using Python for coming up 20 years I learned a lot.
- yuy910616 4y agoI want to caution a bit with using FastAPI in prod. There is still a pretty significant memory issue that is not resolved: https://github.com/tiangolo/fastapi/issues/1624 https://github.com/tiangolo/fastapi/issues/1624 But in general, I agree with you that FastAPI introduces a lot of concept that are very useful to learn.