Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #63167

Using multiple ORMs? - And SQLalchemy vs Pony vs Peewee vs stdnet vs …

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <alec.taylor6@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.046
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'insert': 0.05; '(using': 0.07; 'mysql,': 0.07; 'suggestions,': 0.07; 'python': 0.11; 'project,': 0.12; 'models,': 0.16; 'popping': 0.16; 'postgres,': 0.16; 'pythonic': 0.16; 'subject:? - ': 0.16; 'backend': 0.19; 'thoughts': 0.19; 'this?': 0.23; 'query': 0.26; 'message- id:@mail.gmail.com': 0.30; 'lines': 0.31; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'whilst': 0.36; 'doing': 0.36; 'thanks': 0.36; 'possible': 0.36; 'should': 0.36; 'generic': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'up,': 0.60; 'most': 0.60; 'mentioned': 0.61; 'new': 0.61; 'such': 0.63; 'different': 0.65; 'charset:windows-1252': 0.65; 'subject': 0.69; 'alec': 0.84; 'subject:Using': 0.84; 'toy': 0.84; 'exposing': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=kRsk5TZ8aXsIRTezukg9pFbcCJifdfoxTDvrqzU/oDs=; b=lRdf0phY9w/nVtc5ZyOlORWBott/LHdJB3cMrWGaN137EQd2GcNcd6CWLp3kL02otP 2ZJuk96Sz3c53q9I/DW2aAMN0YOJnNhqzEaHbBt0OeAq6dqAZ3EoQ2NBRzl54Ce8PlJB bcYykdsnu7ldf1V3pHHS0i4Km6KFxNSQNDRqtRQkDLd5roWhkuUaWLD2KWcS0agP0UTz VxOA6WE5my6zrZNEKLv0GxGZSKKrzG14F53eIBRU0FKKLbOvgGqnMK2N5CQthBwq5Eb+ 9MqokIZpqZvdfxOaU9f1ANJXzxQY82RdhNsjXDBKLuDb6ur1xOxE1RBZcJQ8pJD5UNYY c6eQ==
MIME-Version 1.0
X-Received by 10.49.38.37 with SMTP id d5mr170259959qek.17.1388894302223; Sat, 04 Jan 2014 19:58:22 -0800 (PST)
Date Sun, 5 Jan 2014 14:58:22 +1100
Subject Using multiple ORMs? - And SQLalchemy vs Pony vs Peewee vs stdnet vs …
From Alec Taylor <alec.taylor6@gmail.com>
To "comp.lang.python" <python-list@python.org>
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4928.1388894304.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1388894304 news.xs4all.nl 2868 [2001:888:2000:d::a6]:33238
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:63167

Show key headers only | View raw


Investigating possible using multiple ORMs in my project.

Toy project, want to make it as generic as humanly possible; whilst
still exposing abstract pythonic interfaces.

E.g.: support most number of backends, including SQL ones like:
Postgres, SQLite, MySQL, … and NoSQL ones such as Redis (using
python-stdnet).

One way of doing this is to write generic Python libraries; with
different models, insert and query lines for each of the backend ORMs.

What are your thoughts on this?

Additionally, there are a variety of new ORMs popping up, what are
your thoughts on them; and is there something other than the 4
mentioned in the subject which I should look into?

Thanks for all suggestions,

Alec Taylor

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Using multiple ORMs? - And SQLalchemy vs Pony vs Peewee vs stdnet vs … Alec Taylor <alec.taylor6@gmail.com> - 2014-01-05 14:58 +1100
  Re: Using multiple ORMs? - And SQLalchemy vs Pony vs Peewee vs stdnet vs … Wolfgang Keller <feliphil@gmx.net> - 2014-01-05 18:22 +0100

csiph-web