python 开发api
If you have read some of my previous Python articles, you know I’m a Flask fan. It is my go-to for building APIs in Python. However, recently I started to hear a lot about a new API framework for Python called FastAPI. After building some APIs with it, I can say it is amazing!
如果您阅读过我以前的一些Python文章,您就会知道我是Flask的粉丝。 这是我用Python构建API的必修课。 但是,最近我开始听到很多关于Python的新API框架FastAPI的信息 。 用它构建了一些API之后,我可以说它很棒!
This project was created by Sebastian Ramírez, and at the time of writing, it has accumulated almost 20K stars. Big names like Microsoft, Uber, Netflix, and others have been building APIs with it.
这个项目是由塞巴斯蒂安·拉米雷斯 ( SebastianRamírez)创建的,在撰写本文时,它已经积累了近2万颗星。 像Microsoft,Uber,Netflix等大公司都在使用它来构建API。
But why is this new library so popular and how does it compare to Flask or Django?