Differences between revisions 1 and 2
Revision 1 as of 2006-07-16 16:58:58
Size: 4466
Editor: swordsp
Comment:
Revision 2 as of 2006-07-17 11:21:38
Size: 4340
Editor: swordsp
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from zhSoftDespTemplate
Line 5: Line 4:
[[Include(swordsp/COTW/Header)]]
Line 6: Line 7:
Line 8: Line 8:
Line 10: Line 9:
Line 12: Line 10:
Line 14: Line 11:
Line 16: Line 12:
Line 18: Line 13:
Line 20: Line 14:

* [http://dustman.net/andy/python/python-and-mysql] -- MySQL-Python 作者的 Presentation
  * http://dustman.net/andy/python/python-and-mysql -- MySQL-Python 作者的 Presentation
Line 24: Line 16:
Line 26: Line 17:
Line 28: Line 18:
Line 30: Line 19:
Line 32: Line 20:
Line 34: Line 21:
Line 36: Line 22:
Line 38: Line 23:
 
Line 40: Line 24:
Line 42: Line 25:
Line 44: Line 26:
Line 46: Line 27:
Line 48: Line 28:
Line 50: Line 29:
Line 52: Line 30:
Line 54: Line 31:
Line 56: Line 32:
Line 58: Line 33:
Line 60: Line 34:
Line 62: Line 35:
Line 64: Line 36:
Line 66: Line 37:
Line 68: Line 38:
Line 70: Line 39:
Line 72: Line 40:
Line 74: Line 41:
Line 76: Line 42:
Line 78: Line 43:
Line 80: Line 44:
Line 82: Line 45:
Line 84: Line 46:
Line 86: Line 47:
Line 88: Line 48:
Line 90: Line 49:
Line 92: Line 50:
Line 94: Line 51:
Line 96: Line 52:
Line 98: Line 53:
Line 100: Line 54:
Line 102: Line 55:
Line 104: Line 56:
Line 106: Line 57:
Line 108: Line 58:
Line 110: Line 59:
Line 112: Line 60:
Line 114: Line 61:
Line 123: Line 69:
Line 125: Line 70:

Python数据库开发概要 ::-- ["swordsp"] [DateTime(2006-07-16T16:58:58Z)] TableOfContents

Include(swordsp/COTW/Header)

关系型数据库 ( Relational Database ) 开发

DB-API 标准

专用数据库连接模块

MySQL

SQLite

  • [http://sqlite.org/ SQLite] -- 小巧轻便的嵌入式数据库

  • [http://pysqlite.org/ pysqlite] -- SQLite 的半官方性质 Python 接口,已于 Python 2.5 之后成为标准库

    • [:pySqlite:pysqlite文档资料收集]

PostgreSQL

Oracle

IBM DB2

SAP DB

Infomix

Interbase

Ingres

Sybase

ThinkSQL

通用数据库接口

ODBC

JDBC

  • [http://www.ziclix.com/zxjdbc/ zxJDBC] -- 专为 Jython 设计的 DB-API 2.0 接口,建立在底层的 JDBC 接口之上。已经包含在 Jython 2.1 以后的发行版中。

ORM ( Object-Relational Mapping ) 框架

SQLObject

SQLAlchemy

非 DB-API 兼容的数据库接口

SQLRelay

  • [http://sqlrelay.sourceforge.net/ SQLRelay] -- Unix 环境下的通用数据库连接池,支持多种数据库和编程语言,提供了自己的 Python 接口

Matisse

基于文件系统的存储

对象持久化

pickle 和 shelve

Python 标准库中的两个模块,可以将 Python 对象“序列化”为字符串流,或者进行相应的反向操作。

相对于 pickle,shelve 是更为高层的封装(内部依赖于 pickle 和 anydbm 模块),一般情况下不直接使用前者。

ZODB

ZODB ( Zope Object Database ) 是一个高效对象型数据库,也是Zope平台的一部分。

Py4Database (last edited 2009-12-25 07:14:54 by localhost)