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 年 6 月 15 日 · 9534 次点击
    这是一个创建于 4249 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我想问下在生产环境运行过程中, 两者在性能上差别大吗?

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

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