Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:module': 0.04; 'sqlite': 0.07; 'folks,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'underlying': 0.09; 'am,': 0.12; 'doing,': 0.16; 'enigma': 0.16; 'kern': 0.16; 'received:austin.res.rr.com': 0.16; 'wrote:': 0.16; 'header:In- Reply-To:1': 0.22; 'ken': 0.23; 'module,': 0.23; 'aug': 0.24; "i'm": 0.27; 'interpret': 0.29; 'subject:?': 0.31; 'list': 0.32; 'to:addr:python-list': 0.33; 'header:User-Agent:1': 0.34; 'like:': 0.34; 'replacement': 0.34; 'header:X-Complaints-To:1': 0.35; 'data,': 0.35; 'data.': 0.36; 'fri,': 0.36; 'doing': 0.36; 'but': 0.37; 'received:org': 0.38; 'some': 0.38; 'subject:: ': 0.39; 'received:rr.com': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'might': 0.40; 'world': 0.62; 'our': 0.63; 'believe': 0.65; 'prices': 0.76; 'price': 0.76; '11:31': 0.84; 'calculations': 0.84; 'subject:Replacement': 0.84; 'eco': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robert Kern Subject: Re: Replacement for the shelve module? Date: Fri, 19 Aug 2011 12:45:32 -0500 Organization: The Church of Last Thursday References: <1e35ff5e-785e-41db-a50f-976e6ef60692@h9g2000vbr.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: cpe-70-113-40-77.austin.res.rr.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20110812 Thunderbird/6.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1313775949 news.xs4all.nl 23906 [2001:888:2000:d::a6]:37588 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11861 On 8/19/11 10:49 AM, Ken Watford wrote: > On Fri, Aug 19, 2011 at 11:31 AM, Forafo San wrote: >> Folks, >> What might be a good replacement for the shelve module, but one that >> can handle a few gigs of data. I'm doing some calculations on daily >> stock prices and the result is a nested list like: > > For what you're doing, I would give PyTables a try. For a few gigs of stock price data, this is what I use. Much better than SQLite for that amount of data. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco