Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Standalone client database for Python?

0 views
Skip to first unread message

Gustavo Campanelli

unread,
Dec 17, 2003, 10:07:01 AM12/17/03
to
What are our options for a standalone (that is one that's not
client/server) easily accesible from Python?
I'm not going to ask for special features as this is only to see what is
avaiable and used (most used most probably meaning well maintained
project).

Thanks in advance

Gedece

Gerhard Häring

unread,
Dec 17, 2003, 11:15:39 AM12/17/03
to pytho...@python.org
Gustavo Campanelli wrote:
> What are our options for a standalone (that is one that's not
> client/server) easily accesible from Python? [...]

If you need a "real" query language (read: SQL), then I can recommend
PySQLite (http://pysqlite.sourceforge.net/).

-- Gerhard


Harry George

unread,
Dec 17, 2003, 5:16:35 AM12/17/03
to
Gustavo Campanelli <birdiep...@SPAMciudad.FILTERcom.ar> writes:

For embedded dbms's, you can get bindings for gdbm, dbm, sqlite.

Maybe you could use a client server after all. E.g., you could set up
postgresql so that only a particular user on the local box can access
the database. In terms of access authorization this is equiv of an
embedded dbms.

For "most maintained", mysql and postgresql would be hard to beat in
client/server space. For embedded dbms's, I'd guess Berkeley DB would
be the winner (http://www.sleepycat.com/)


--
harry.g...@boeing.com
6-6M31 Knowledge Management
Phone: (425) 342-5601

Mike C. Fletcher

unread,
Dec 17, 2003, 1:10:21 PM12/17/03
to pytho...@python.org
Gustavo Campanelli wrote:

Well, here's what jumps to mind:

PySQLite -- SQL based relational
Metakit -- Direct API based relational, the core library is *very*
widely used.
MkSQL -- Less-heavily-used SQL implementation on top of Metakit
Gadfly -- SQL based IIRC, never actually used it myself, is now
distributed with Zope 3 IIRC
KirbyBase -- Never used it, but apparently embeddable

AnyDBM -- e.g. BSDDB, very low-level string:value on-disk-dictionary
mechanisms
mxBeeBase -- low level mechanism for creating databases

Also, as a general rule, you can answer these kinds of questions by
browsing Parnassus', which is quite a useful little resource.
http://www.vex.net/parnassus/

Have fun,
Mike

_______________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/


Thomas Guettler

unread,
Dec 18, 2003, 6:44:37 AM12/18/03
to

If you don't need a relational database (SQL)
you can look at ZODB.

It is easy accesible from python since
it is coded in python.

thomas

Aaron Watters

unread,
Dec 18, 2003, 3:24:03 PM12/18/03
to
Harry George <harry.g...@boeing.com> wrote in message news:<xqxfzfj...@cola2.ca.boeing.com>...

> Gustavo Campanelli <birdiep...@SPAMciudad.FILTERcom.ar> writes:
> For "most maintained", mysql and postgresql would be hard to beat in
> client/server space. For embedded dbms's, I'd guess Berkeley DB would
> be the winner (http://www.sleepycat.com/)

Mysql and postgressql are also huge and complicated and not
easily distributed (eg if you want to install on both windows
and unix), unless something has changed. Berkeley DB is more
correctly called a btree and indexing library rather than a
true database in the tradition of SQL databases.

My favorite of courseis gadfly http://gadfly.sourceforge.net
which is

- small
- 100% python (with an optional add on C module for speed)
- SQL based, with recovery and transaction support
- in memory (so it's not appropriate for huge databases,
but it's pretty fast for small ones)
- originally written by me :)

I've also heard good things about pySQLLite and metakit although
they both require installing extension modules and supporting
libraries.

Lately I've been working on http://xsdb.sourceforge.net which is
also 100% python but more appropriate for larger databases.
Just added support for using berkeley db as a back end (in CVS).
I'm hoping to bridge xsdb and gadfly together at some point :).

-- Aaron Watters

===
nothing exceeds like excess

Uwe Grauer

unread,
Dec 18, 2003, 3:51:25 PM12/18/03
to
Hi Gustavo,

I am using Firebird 1.5 RC7.
Very nice and Open Source.
see: http://www.firebirdsql.com

Uwe

Gerhard Häring

unread,
Dec 18, 2003, 7:29:22 PM12/18/03
to pytho...@python.org
Aaron Watters wrote:
> I've also heard good things about pySQLLite and metakit although
> they both require installing extension modules and supporting
> libraries.

Well, just for clarification: PySQLite does indeed depend on SQLite, but
the Windows binaries are completely standalone - they're statically
linked against SQLite.

Also, SQLite is pretty damn fast and scales to multi-gigabyte databases,
on disk or in-memory.

-- Gerhard


mir nazim

unread,
Dec 19, 2003, 2:17:46 AM12/19/03
to
Gustavo Campanelli <birdiep...@SPAMciudad.FILTERcom.ar> wrote in message news:<brps08$fe9$1...@taurus.webcorp.pl>...

hi,
well if u don't want SQL based database there is one called KirbyBase.
it is written in python. it is a single file. sample multiuser server
is included.i have not used it but may be helpful for u. u can find
it here.

www.netpromi.com/kirbybase.html

0 new messages