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
wb13
V2EX  ›  Python

关于 peewee 和 sqlalchemy 比较

  •  
  •   wb13 · 2014-06-15 00:01:43 +08:00 · 8749 次点击
    这是一个创建于 3597 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我想问下在生产环境运行过程中, 两者在性能上差别大吗?

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

    但发现sqlalchemy更多地被别人推荐。可一看文档就感觉有点累,估计是‘太强大’了。
    5 条回复    2020-08-01 10:04:18 +08:00
    wb13
        1
    wb13  
    OP
       2014-06-15 00:02:28 +08:00
    希望有经验的人能给点实际的建议,谢谢。
    xi4oh4o
        2
    xi4oh4o  
       2014-06-15 01:04:11 +08:00
    用peewee吧,如果你遇到了性能问题,再来这里问
    ryan123
        3
    ryan123  
       2014-06-15 05:04:29 +08:00
    为用flask-sqlchemy
    wellsc
        4
    wellsc  
       2015-09-07 18:01:59 +08:00
    起了这么个标题,我不忍点进来看,原来不是对比。
    lixuda
        5
    lixuda  
       2020-08-01 10:04:18 +08:00
    @xi4oh4o peewee 性能不行吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1546 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:00 · PVG 01:00 · LAX 10:00 · JFK 13:00
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.