Peewee是一个简单而小巧的orm。它具有很少(但富有表现力)的概念,使其易于学习和直观使用。
- 一个简单而富有表现力的ORM
- 适用于python2.7和3.4+(使用3.6开发)
- 支持sqlite, mysql 和 postgresql
- 拥有大量的扩展
Peewee的源代码github地址。
- 快速开始
- twitter app例子
- 使用peewee 交互式
- 数据库模型和字段(Models and fields)
- 数据库查询(Querying)
- 数据库关系和连接(Relationships and joins)
如果发现任何错误,奇怪的行为,或对新功能有所了解