V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
MRlaopeng
V2EX  ›  Python

为什么你们比较喜欢 fastapi 而不是 sanic

  •  
  •   MRlaopeng · 269 天前 · 2482 次点击
    这是一个创建于 269 天前的主题,其中的信息可能已经有所发展或是发生改变。

    ,,就以为 fastapi 自带 api 文档的功能吗

    12 条回复    2023-08-07 11:22:23 +08:00
    learningman
        1
    learningman  
       269 天前 via Android
    还不够吗,不然我为啥不去用 flask
    forelegance
        2
    forelegance  
       269 天前
    sanic 要比 fastapi 好用吧
    MRlaopeng
        3
    MRlaopeng  
    OP
       269 天前
    @forelegance 比 fastapi 快点,,就是自带功能少点
    unknowfly
        4
    unknowfly  
       269 天前
    和 pydantic 结合得比较好
    dextercai
        5
    dextercai  
       269 天前
    自带功能多一点,开发起来能提升效率
    song135711
        6
    song135711  
       269 天前
    2023.08.02 stars 比较 fastapi 61k vs sanic 17.2k
    MRlaopeng
        7
    MRlaopeng  
    OP
       269 天前
    @song135711 ,,我就是来问理由的
    song135711
        8
    song135711  
       269 天前
    @MRlaopeng stars 代表认可的人数,认可的人数多, 对应的社区,框架后续维护都有保证。都是相差不大的工具, 当然选一个稳定的。
    MRlaopeng
        9
    MRlaopeng  
    OP
       269 天前
    @song135711 是的,,我最终也是因为稳定 换回 fastapi,,自己弄太累了
    xzm429438709
        10
    xzm429438709  
       268 天前 via Android
    我用 Django 稳的一批
    MRlaopeng
        11
    MRlaopeng  
    OP
       267 天前
    @xzm429438709 ,,django 的 orm 的异步方案是什么,,gevent 吗
    roundgis
        12
    roundgis  
       264 天前 via Android
    @MRlaopeng db call 放線程
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3012 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:50 · PVG 21:50 · LAX 06:50 · JFK 09:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.