推荐学习书目
› 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
wb13
V2EX  ›  Python

关于 peewee 和 sqlalchemy 比较

  •  
  •   wb13 · Jun 15, 2014 · 9995 views
    This topic created in 4496 days ago, the information mentioned may be changed or developed.
    我想问下在生产环境运行过程中, 两者在性能上差别大吗?

    最近开始学Flask(有Django背景),发现peewee的API比较简单好记,用起来也很舒服。还带有很多小插件很方便。跟Django自带的ORM几乎无二样。

    但发现sqlalchemy更多地被别人推荐。可一看文档就感觉有点累,估计是‘太强大’了。
    5 replies  •  2020-08-01 10:04:18 +08:00
    wb13
        1
    wb13  
    OP
       Jun 15, 2014
    希望有经验的人能给点实际的建议,谢谢。
    xi4oh4o
        2
    xi4oh4o  
       Jun 15, 2014
    用peewee吧,如果你遇到了性能问题,再来这里问
    ryan123
        3
    ryan123  
       Jun 15, 2014
    为用flask-sqlchemy
    wellsc
        4
    wellsc  
       Sep 7, 2015
    起了这么个标题,我不忍点进来看,原来不是对比。
    lixuda
        5
    lixuda  
       Aug 1, 2020
    @xi4oh4o peewee 性能不行吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   987 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 17:43 · PVG 01:43 · LAX 10:43 · JFK 13:43
    ♥ Do have faith in what you're doing.