Re: Is there no single/uniform RDBMS access API module for Python?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • M.-A. Lemburg

    Re: Is there no single/uniform RDBMS access API module for Python?

    On 2008-05-12 07:43, Banibrata Dutta wrote:
    Hi,
    >
    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 ??
    Most Python database modules adhere to the Python Database API specification
    (DB-API). The current version 2 is available in the PEP format as:

    This API has been defined to encourage similarity between the Python modules that are used to access databases. By doing this, we hope to achieve a consistency leading to more easily understood modules, code that is generally more portable across datab...


    The spec was created and is maintained by the Python DB-SIG:



    If you are looking for a generic Python database interface, then I'd
    suggest you have a look at our mxODBC:

    mxODBC™ is the eGenix flagship product for connecting Python to all major databases, on all major platforms, using a fully Python DB-API 2.0 standard compatible ODBC interface, with many extensions and enhanced support of stored procedures with input, output and input/output parameters.


    It works on all common Python platforms (e.g. Windows, Linux x86/x64,
    Macs, Solaris, etc.) and provides the same API on these, so apart from
    changing the ODBC driver configuration, you don't need to make any
    major changes to your application if you want to switch from one
    platform to another.

    Note: mxODBC is a commercial add-on to our eGenix mx Base OSS
    distribution. It's maintained by eGenix and has been around
    since 1997.

    --
    Marc-Andre Lemburg
    eGenix.com

    Professional Python Services directly from the Source (#1, May 13 2008)
    >>Python/Zope Consulting and Support ... http://www.egenix.com/
    >>mxODBC.Zope.D atabase.Adapter ... http://zope.egenix.com/
    >>mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
    _______________ _______________ _______________ _______________ ____________

    :::: Try mxODBC.Zope.DA for Windows,Linux,S olaris,MacOSX for free ! ::::


    eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
    Registered at Amtsgericht Duesseldorf: HRB 46611
Working...