best small database?

Thorsten Kampe thorsten at thorstenkampe.de
Mon Sep 11 14:00:28 EDT 2006


* Aahz (2006-09-11 16:34 +0100)
> 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.

But sqlite is not "pure Python" because it's just a wrapper around
sqlite (which has to be installed separately)...

Thorsten



More information about the Python-list mailing list