推荐学习书目
› 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 · 10095 views
    This topic created in 4528 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
    wb13
    OP
    Jun 15, 2014
    1
    希望有经验的人能给点实际的建议,谢谢。
    xi4oh4o
    xi4oh4o
    Jun 15, 2014
    2
    用peewee吧,如果你遇到了性能问题,再来这里问
    ryan123
    ryan123
    Jun 15, 2014
    3
    为用flask-sqlchemy
    wellsc
    wellsc
    Sep 7, 2015
    4
    起了这么个标题,我不忍点进来看,原来不是对比。
    lixuda
    lixuda
    Aug 1, 2020
    5
    @xi4oh4o peewee 性能不行吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1877 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 03:49 · PVG 11:49 · LAX 19:49 · JFK 22:49
    ♥ Do have faith in what you're doing.