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

SQLAlchemy 的文档好乱,如果像 Flask 那样就好了

  •  
  •   chuangbo · 2013-05-17 21:11:13 +08:00 via iPad · 4036 次点击
    这是一个创建于 3994 天前的主题,其中的信息可能已经有所发展或是发生改变。
    9 条回复    1970-01-01 08:00:00 +08:00
    yinian1992
        1
    yinian1992  
       2013-05-17 21:58:35 +08:00
    一开始看的时候你会发现 SQLAlchemy 的文档又臭又长,后来就嫌不够长了……
    gzb1985
        2
    gzb1985  
       2013-05-17 23:43:52 +08:00
    Flask-SQLAlchemy貌似也有一部分文档,看起来好多了。
    ericFork
        3
    ericFork  
       2013-05-18 00:20:20 +08:00
    pocoo 的文档确实业界良心,连带着第三方为它开发的周边都不好意思把文档写得很丑
    dreampuf
        4
    dreampuf  
       2013-05-18 02:19:59 +08:00
    @ericFork 因为作者提供了一套rST模版

    基本定义,Session 就行了吧,以后碰着问题再继续
    ljbha007
        5
    ljbha007  
       2013-05-18 02:56:45 +08:00
    相当乱 所以我一口气看完了
    ericFork
        6
    ericFork  
       2013-05-18 03:00:23 +08:00
    @dreampuf 呃,我是指详细程度,至少我看到的几个都还不错
    metaclass
        7
    metaclass  
       2013-05-18 04:50:40 +08:00
    Flask居然有人夸文档好,Django赶紧找块豆腐撞死算了
    shiweifu
        8
    shiweifu  
       2013-05-18 09:07:22 +08:00
    简单的应用可以试试这货:
    https://github.com/coleifer/peewee

    就一个文件,纯Python,部署方便
    mengzhuo
        9
    mengzhuo  
       2013-05-20 00:58:51 +08:00
    我也嫌SQLAlchemy的文档不够细了,只好翻源代码
    而且这货的__init__.py基本上就是文档而已,然后from .api import *
    我正在开发一个SQLAlchemy扩展,代码是写好了,文档没跟上我他喵的还不敢放出来,就因为SQLAlchemy文档太齐了都不好意思不写……
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5750 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 02:47 · PVG 10:47 · LAX 19:47 · JFK 22:47
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.