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


Groups > comp.lang.python > #109765

Re: Tie dictionary to database table?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Michael Selik <michael.selik@gmail.com>
Newsgroups comp.lang.python
Subject Re: Tie dictionary to database table?
Date Thu, 09 Jun 2016 22:40:35 +0000
Lines 9
Message-ID <mailman.126.1465512052.2306.python-list@python.org> (permalink)
References <drt5r8Ft1maU1@mid.individual.net> <CAO1D73Hb9_guWHxjer226APrFqTFM3eCWxmW4570Hpt5smvFmQ@mail.gmail.com> <CAGgTfkN6vSY-hSSqmRjxioOYJGDrO6HshNLHJGPtM_tOB8wdFw@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de FCM/DK4a2I4ccXwsdBrUww3QvSaL1/d9XG6nhAg8EDbw==
Return-Path <michael.selik@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'orm': 0.09; 'thu,': 0.15; '2016': 0.16; 'dictionary,': 0.16; 'justin': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'email addr:gmail.com&gt;': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'to:2**1': 0.21; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.27; 'module.': 0.27; 'looks': 0.29; 'checked': 0.31; 'url:python': 0.33; 'received:google.com': 0.35; 'url:org': 0.36; 'received:209.85': 0.36; 'url:library': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'received:209.85.216': 0.38; 'url:3': 0.60; 'walters': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/rp8bTNh+wWLiEKyvUS7V1wqFc92gpShfqZIxqS9rp8=; b=mUTODWyChBOpVRk+WMLm8Ymk6vGZ2CwUgKpYMTuBGRBtT6wVhfil2qVjm9qyxtGlBt c0SMuqKT83WZfKWaiDQpKHnGLSxn4YDUkL2CKQcbsQfK0oHzyJ6850cRK3faayvSGZ56 c8gNBGAU30d5P3DD4Hsam0V0PW96ketNC+holF0HYV2I9iFPyBFwz2y47zhebPLVBAD6 qhybnmUSjtK5TfTbMhPLeIkfdcHt4kW8mOs0znEbxxhl74Qml0j5am7T+Ml+oAz/+h19 DFdnyGIlEALm0IcMpIbvJMN9av8S4u9x9mDIFTHXqxFDu93d/RzL6BGg4rIW3J9vPjOT m39g==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/rp8bTNh+wWLiEKyvUS7V1wqFc92gpShfqZIxqS9rp8=; b=fIcLwbT3CVDhoeaLn7ykvLq9BiCbWu+H5bToFch5Aq7IuD7m33QkiwCS9kzY+fmSFj hF3NnQEf32nIlr4mXqkfaRODj6WDahFToGzKO+dOTwL4WnkGdVlCiBjSY9K7kyIg9knw 1QSW4HzdvjAKypIkpVkVxYRRHm0TpLqN0CGWGXR3Vb0iQKUKp0ZoZeVulD3RK74gGZYV 3mkX/l5O7GlM1I7Bdel0dWr9I1bY07wQtxNUDzZk9T64orAC/saZHeqB721x3YfOtftg JVZRcaUg7MRMoQMyIabWsoowbtaAdZt/oJM18EiP9R/r/PlO298W8cFxDjNypQYJu9rq 5fzg==
X-Gm-Message-State ALyK8tJYzCwbIrC8o22Ah/T3VTAWFY6n6MUEKDrBsF2lby7D/3DMGgZFqAr6M8nZU1n+XB6U8n/9vWxL9AQRPQ==
X-Received by 10.237.39.69 with SMTP id n63mr12824710qtd.55.1465512044653; Thu, 09 Jun 2016 15:40:44 -0700 (PDT)
In-Reply-To <CAO1D73Hb9_guWHxjer226APrFqTFM3eCWxmW4570Hpt5smvFmQ@mail.gmail.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <CAGgTfkN6vSY-hSSqmRjxioOYJGDrO6HshNLHJGPtM_tOB8wdFw@mail.gmail.com>
X-Mailman-Original-References <drt5r8Ft1maU1@mid.individual.net> <CAO1D73Hb9_guWHxjer226APrFqTFM3eCWxmW4570Hpt5smvFmQ@mail.gmail.com>
Xref csiph.com comp.lang.python:109765

Show key headers only | View raw


On Thu, Jun 9, 2016 at 9:10 AM justin walters <walters.justin01@gmail.com>
wrote:

> It looks like you might be looking for an ORM. Have you checked out
> sqlalchemy?
>

An ORM might be overkill. If you just want a persistent dictionary, just
use the shelve module. https://docs.python.org/3/library/shelve.html

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


Thread

Tie dictionary to database table? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2016-06-09 12:30 +0000
  Re: Tie dictionary to database table? justin walters <walters.justin01@gmail.com> - 2016-06-09 06:09 -0700
  Re: Tie dictionary to database table? Michael Selik <michael.selik@gmail.com> - 2016-06-09 22:40 +0000
    Re: Tie dictionary to database table? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2016-06-10 07:30 +0000
      Re: Tie dictionary to database table? Christian Gollwitzer <auriocus@gmx.de> - 2016-06-10 09:38 +0200
        Re: Tie dictionary to database table? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2016-06-10 10:56 +0000
          Re: Tie dictionary to database table? Peter Otten <__peter__@web.de> - 2016-06-10 14:25 +0200
  Re: Tie dictionary to database table? Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-06-16 20:59 -0700

csiph-web