From ff9daaca489f3de61e1d3187d52a3a46ff3d1c7a Mon Sep 17 00:00:00 2001 From: Patrick Stegmann Date: Mon, 1 Dec 2014 14:27:17 +0100 Subject: [PATCH 1/2] Added peewee, PonyORM and SQLObject to the databases section --- docs/scenarios/db.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/scenarios/db.rst b/docs/scenarios/db.rst index 0d30c3e..75a48e0 100644 --- a/docs/scenarios/db.rst +++ b/docs/scenarios/db.rst @@ -38,3 +38,25 @@ The basics: - Each model is a Python class that subclasses django.db.models.Model. - Each attribute of the model represents a database field. - Django gives you an automatically-generated database-access API; see `Making queries `__. + +peewee +------ + +`peewee `_ is another ORM with a focus on being lightweight with support for +Python 2.6+ and 3.2+ which supports SQLite, MySQL and Postgres by default. The `model layer `_ +is similar to that of the Django ORM and it has `SQL-like methods `_ +to query data. While SQLite, MySQL and Postgres are supported out-of-the-box, there is a `collection of add-ons `_ +available. + +PonyORM +------- + +`PonyORM `_ is an ORM that takes a different approach to querying the database. Instead of writing +an SQL-like language or boolean expressions, Python's generator syntax is used. There's also an graphical schema editor +that can generate PonyORM entities for you. + +SQLObject +--------- + +`SQLObject `_ is yet another ORM. It supports a wide variety of databases including more exotic +systems like SAP DB, SyBase and MSSQL. From 2408d903847402dbd8b97051812ad5ebb94bafa0 Mon Sep 17 00:00:00 2001 From: Patrick Stegmann Date: Mon, 1 Dec 2014 18:29:33 +0100 Subject: [PATCH 2/2] Provided some more information on PonyORM and SQLObjects --- docs/scenarios/db.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/scenarios/db.rst b/docs/scenarios/db.rst index 75a48e0..feda08f 100644 --- a/docs/scenarios/db.rst +++ b/docs/scenarios/db.rst @@ -53,10 +53,16 @@ PonyORM `PonyORM `_ is an ORM that takes a different approach to querying the database. Instead of writing an SQL-like language or boolean expressions, Python's generator syntax is used. There's also an graphical schema editor -that can generate PonyORM entities for you. +that can generate PonyORM entities for you. It supports Python 2.6+ and Python 3.3+ and can connect to SQLite, MySQL, +Postgres & Oracle + + SQLObject --------- -`SQLObject `_ is yet another ORM. It supports a wide variety of databases including more exotic -systems like SAP DB, SyBase and MSSQL. +`SQLObject `_ is yet another ORM. It supports a wide variety of databases: Common database systems +MySQL, Postgres and SQLite and more exotic systems like SAP DB, SyBase and MSSQL. It only supports Python 2 from +Python 2.6 upwards. + +.. There's no official information on this on their page, this information was gathered by looking at their source code