which database is suitable for small applications

Tim Chase python.list at tim.thechases.com
Tue May 26 08:58:34 EDT 2009


>           can any one suggest me which database I can use for my small
> application(to store user names ,passwords, very few other data.. )
> I am using Python, Google Apps and guide me how to connect to database, I am
> very new to these technologies

Well, depending on the complexity you need, you can use either 
the standard  "anydbm" module for simple, persistent key-value 
string-to-string mappings; or you can use the "sqlite3" module 
for a more full-fledged SQL experience with a local data-store. 
If you need to step up to a shared database, you can investigate 
the various MySQL, PostgreSQL, etc. bindings that can be added to 
Python.

You can read about both the "anydbm" and "sqlite3" modules (along 
with example code) in the standard library reference docs.

-tkc






More information about the Python-list mailing list