best small database?

Aahz aahz at pythoncraft.com
Mon Sep 11 11:34:38 EDT 2006


In article <4505707E.2080804 at redlinepy.com>,
Paul Watson  <pwatson at redlinepy.com> wrote:
>David Isaac wrote:
>>
>> I have no experience with database applications.
>> This database will likely hold only a few hundred items,
>> including both textfiles and binary files.
>> 
>> I would like a pure Python solution to the extent reasonable.
>> 
>> Suggestions?
>
>If you want really simple, look at the anydbm module.  If nothing better 
>is available, anydbm will use dumbdbm.  All of these are in the Python 
>build, so you do not need to fetch/read/install anything additional.
>
>Doing the DB-API would be much stronger, but might be overkill in your 
>situation.

Once Python 2.5 comes out, I recommend using sqlite because it avoids
the mess that dbm can cause.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"  -- www.nancybuttons.com



More information about the Python-list mailing list