Re: Unshelving the data?

2011-06-02 Thread Uncle Ben
On Jun 2, 6:46 am, Adam Tauno Williams wrote: > On Wed, 2011-06-01 at 19:49 -0700, Uncle Ben wrote: > > Shelving is a wonderfully simple way to get keyed access to a store of > > items. I'd like to maintain this cache though. > > +1 > > > Is there any way to remove a shelved key once it is hashed

Re: Unshelving the data?

2011-06-02 Thread Adam Tauno Williams
On Wed, 2011-06-01 at 19:49 -0700, Uncle Ben wrote: > Shelving is a wonderfully simple way to get keyed access to a store of > items. I'd like to maintain this cache though. +1 > Is there any way to remove a shelved key once it is hashed into the > system? I could do it manually by removing the

Re: Unshelving the data?

2011-06-01 Thread Ben Finney
Uncle Ben writes: > Or should I to go the full database route? It is not a lage > application. I would recommend you at least investigate the use of SQLite for your application. It is part of the standard library since Python 2.5 http://docs.python.org/library/sqlite3.html>. -- \ “Well

Re: Unshelving the data?

2011-06-01 Thread Chris Torek
In article <4433955b-7f54-400a-af08-1f58a75e7...@j31g2000yqe.googlegroups.com> Uncle Ben wrote: >Shelving is a wonderfully simple way to get keyed access to a store of >items. I'd like to maintain this cache though. > >Is there any way to remove a shelved key once it is hashed into the >system?

Unshelving the data?

2011-06-01 Thread Uncle Ben
Shelving is a wonderfully simple way to get keyed access to a store of items. I'd like to maintain this cache though. Is there any way to remove a shelved key once it is hashed into the system? I could do it manually by removing the value and erasing the key in the directory list. But is there a