Is there no single/uniform RDBMS access API module for Python ?
Daniel Fetchinson
fetchinson at googlemail.com
Mon May 12 13:19:55 EDT 2008
> >> Again a noob question.
> >> Based on this URL http://wiki.python.org/moin/DatabaseInterfaces , is it
> >> correct to conclude that there is no RDBMS agnostic, single/uniform DB
> >> access API for Python ?
> >> Something in the lines of JDBC for Java, DBD for Perl etc. ?
> >> How is the RDBMS change handled for solutions which need to work with
> >> different RDBMSs ??
> >>
> > http://www.python.org/dev/peps/pep-0249/
> >
>
>
> That appears to be only an API specification. Are there any implementations
> of that ?
For sqlite: http://oss.itsystementwicklung.de/trac/pysqlite/ if you
have python < 2.5 for 2.5 and up it is included in the stdlib
For mysql: http://sourceforge.net/projects/mysql-python
There are a tons more, including postgresql, oracle, etc:
http://wiki.python.org/moin/DatabaseInterfaces
Cheers,
Daniel
--
Psss, psss, put it down! - http://www.cafepress.com/putitdown
More information about the Python-list
mailing list